Готовая лабораторная работа 3
This commit is contained in:
12
shanygin_alexandr_lab_3/microservice_components/Dockerfile
Normal file
12
shanygin_alexandr_lab_3/microservice_components/Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM python:3.9-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
COPY app.py .
|
||||
|
||||
EXPOSE 5001
|
||||
|
||||
CMD ["python", "app.py"]
|
||||
Reference in New Issue
Block a user