add dockerfile

This commit is contained in:
RTAkland
2023-01-27 17:21:23 +08:00
parent b23046d0f0
commit 93ea886284
1 file changed
+6
+6
View File
@@ -0,0 +1,6 @@
FROM ubuntu:latest
EXPOSE 8000
WORKDIR .
COPY . .
RUN apt-get -y update && apt-get -y install python3-pip && pip3 install -r requirements.txt
CMD ["python3", "main.py"]