DAS_2023_1/basharin_sevastyan_lab_3/user_service/Dockerfile

6 lines
179 B
Docker
Raw Normal View History

2023-11-21 23:45:46 +04:00
FROM python:3.11
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
2023-11-24 07:55:12 +04:00
COPY . /app
CMD ["gunicorn", "--bind", "0.0.0.0:5001", "user_service:app"]