From f926d9f843f89c43860369500ee7b390444cb74f Mon Sep 17 00:00:00 2001 From: fanyx Date: Fri, 13 Nov 2020 17:29:20 +0100 Subject: [PATCH] init Dockerfile --- Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..fdd3b1e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM python:3.9-alpine + +ADD . /app/ + +WORKDIR /app + +RUN pip install -r requirements.txt + +USER 1000 + +CMD ["python", "main.py"] \ No newline at end of file