Browse Source

dockerfile

gr703_anaan 2 năm trước cách đây
mục cha
commit
2bbb0d8e9a
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  1. 8 0
      dockerfile

+ 8 - 0
dockerfile

@@ -0,0 +1,8 @@
+from python3.10-slim
+
+RUN pip install --no-cache-dir --upgrade pip \
+  && pip install --no-cache-dir -r requests
+
+COPY main.py
+CMD ["python3","./lab2.py"]
+EXPOSE 8000