From 93ea886284bc2256f3310a3f73f8e4bdebd70ed5 Mon Sep 17 00:00:00 2001 From: RTAkland Date: Fri, 27 Jan 2023 17:21:23 +0800 Subject: [PATCH] add dockerfile --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index e69de29..5f7106c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file