Run as amarillo user
All checks were successful
Amarillo/amarillo-gitea/amarillo-enhancer/pipeline/head This commit looks good

This commit is contained in:
Csaba 2024-06-28 13:52:15 +02:00
parent 772758ed72
commit 49079dfef9

View file

@ -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"]