Run as amarillo user
Some checks failed
Amarillo/amarillo-gitea/amarillo-gtfs-generator/pipeline/head There was a failure building this commit
Some checks failed
Amarillo/amarillo-gitea/amarillo-gtfs-generator/pipeline/head There was a failure building this commit
This commit is contained in:
parent
e307b3c1cd
commit
41b963d50c
|
|
@ -15,6 +15,9 @@ COPY ./logging.conf /app
|
|||
ENV MODULE_NAME=amarillo-gtfs-generator.gtfs_generator
|
||||
ENV MAX_WORKERS=1
|
||||
|
||||
RUN useradd amarillo
|
||||
USER amarillo
|
||||
|
||||
# This image inherits uvicorn-gunicorn's CMD. If you'd like to start uvicorn, use this instead
|
||||
# CMD ["uvicorn", "amarillo.main:app", "--host", "0.0.0.0", "--port", "8000"]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue