From d2332e33bc2126bd534d969a7bdc64d27136e961 Mon Sep 17 00:00:00 2001 From: 88lex Date: Thu, 6 Aug 2020 10:43:35 +0800 Subject: [PATCH] add dockerfile --- dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 dockerfile diff --git a/dockerfile b/dockerfile new file mode 100644 index 0000000..2679a9f --- /dev/null +++ b/dockerfile @@ -0,0 +1,14 @@ +FROM python:3.8.5-alpine3.12 + +ENV MAX_PROJECTS=100 +ENV SAS_PER_PROJECT=100 +ENV EMAIL_PREFIX=svcacc +ENV PROJECT_PREFIX=UniqPrefix +ENV JSON_PREFIX=svcacc + +COPY ./requirements.txt /opt/requirements.txt +WORKDIR /opt + +RUN apk --no-cache add \ + python3.8 &&\ + pip install /opt/requireme