DAS_2023_1/romanova_adelina_lab_3/service_service/Dockerfile

6 lines
182 B
Docker

FROM python:3.11
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . /app
CMD ["gunicorn", "--bind", "0.0.0.0:5001", "service_service:app"]