Run as amarillo user
All checks were successful
Amarillo/amarillo-gitea/amarillo-enhancer/pipeline/head This commit looks good
All checks were successful
Amarillo/amarillo-gitea/amarillo-enhancer/pipeline/head This commit looks good
This commit is contained in:
parent
772758ed72
commit
49079dfef9
|
|
@ -17,6 +17,9 @@ COPY ./logging.conf /app
|
|||
ENV MODULE_NAME=amarillo-enhancer.enhancer
|
||||
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