dockerise
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
FROM python:3.10-alpine
|
||||
WORKDIR /app
|
||||
FROM python:3.10-slim
|
||||
WORKDIR /ref-test
|
||||
COPY . .
|
||||
RUN pip install -r requirements.txt
|
||||
CMD [ "gunicorn", "-b", "0.0.0.0:5000", "app:app" ]
|
||||
RUN pip install --upgrade pip && pip install -r requirements.txt
|
||||
CMD [ "gunicorn", "-b", "0.0.0.0:5000", "-w", "8", "main:app" ]
|
Reference in New Issue
Block a user