dockerfile.dev

This commit is contained in:
Tom Villette
2023-08-29 18:47:08 +02:00
parent cd39ac22fc
commit b90e7028b7
4 changed files with 26 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ RUN adduser -u 5678 --disabled-password --gecos "" appuser
WORKDIR /app
COPY requirements.txt .
RUN python -m pip install --no-cache-dir --upgrade -r requirements.txt
COPY --chown=appuser:appuser eveal /app
COPY --chown=appuser:appuser eveal /app/eveal
USER appuser
CMD ["uvicorn", "eveal.main:app", "--host", "0.0.0.0", "--port", "8000"]