diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..0986cccc --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM python:3.7-alpine + +WORKDIR /src/app/ + +COPY ./requirements.txt . + +RUN ["pip", "install", "-r", "./requirements.txt"] + +COPY . . + +RUN addgroup -S projects && adduser -S -H projects -G projects +RUN chown -R projects:projects /src/app +USER projects