Browse Source

dockerfile

gr701_tiddm 2 years ago
parent
commit
437313454a
1 changed files with 7 additions and 0 deletions
  1. 7 0
      dockerfile

+ 7 - 0
dockerfile

@@ -0,0 +1,7 @@
+FROM python:3.8-slim-buster
+WORKDIR /site
+COPY requirements.txt requirements.txt
+RUN pip3 install -r requirements.txt
+COPY . .
+CMD ["python3","./laba1.py"]
+EXPOSE 8000