소스 검색

Webserver

xSweet 2 년 전
부모
커밋
131fad474b
1개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. 9 0
      Dockerfile

+ 9 - 0
Dockerfile

@@ -0,0 +1,9 @@
+FROM python:3.10-slim
+
+
+RUN pip install --no-cache-dir --upgrade pip \
+  && pip install --no-cache-dir requests
+
+COPY main.py .
+CMD ["python3","./main.py"]
+EXPOSE 8000