Максим Смагин 2 năm trước cách đây
mục cha
commit
455acceb47
2 tập tin đã thay đổi với 10 bổ sung0 xóa
  1. 8 0
      dockerfile
  2. 2 0
      requirements.txt

+ 8 - 0
dockerfile

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

+ 2 - 0
requirements.txt

@@ -0,0 +1,2 @@
+datetime
+