Skip to content

Commit

Permalink
initial attempt at dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
snychka committed May 21, 2020
1 parent 86af787 commit ebfe747
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ebfe747

Please sign in to comment.