8 lines
179 B
Docker
8 lines
179 B
Docker
FROM python:3.10
|
|
ENV PYTHONUNBUFFERED=1
|
|
WORKDIR /app
|
|
COPY requirements.txt .
|
|
RUN pip install -r requirements.txt
|
|
COPY . .
|
|
EXPOSE 8000
|
|
CMD ["gunicorn", "-b", "0.0.0.0", "app:app"]
|