No Poetry
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user