No Poetry

This commit is contained in:
2023-08-19 17:24:11 +02:00
parent 923064e6a5
commit f92b7c84da

View File

@@ -2,7 +2,7 @@ FROM docker.io/python:3.11-slim AS base
WORKDIR /app
RUN apt update && apt install -y build-essential
RUN apt-get update && apt-get install -y build-essential
ADD requirements.txt ./
RUN pip3 install -r requirements.txt
@@ -15,4 +15,4 @@ FROM base as prod
ADD projectorpi_web/* ./
CMD poetry run gunicorn -w 4 -k uvicorn.workers.UvicornWorker --bind 0.0.0.0:8000 app:app
CMD gunicorn -w 4 -k uvicorn.workers.UvicornWorker --bind 0.0.0.0:8000 app:app