9 lines
208 B
Docker
9 lines
208 B
Docker
FROM python:3-alpine as base
|
|
WORKDIR /app
|
|
COPY requirements.txt .
|
|
RUN pip install --compile --no-cache-dir --requirement requirements.txt
|
|
COPY . /app
|
|
|
|
CMD ["gunicorn", "-c", "gunicorn.py"]
|
|
#CMD python app.py
|