Skip to content

Commit

Permalink
Merge pull request #21 from microapidev/develop
Browse files Browse the repository at this point in the history
update
  • Loading branch information
phemmylintry authored Jul 7, 2020
2 parents d37e28c + 9e8ca62 commit 77ab44e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,13 @@ RUN python -m pip install -r requirements.txt

WORKDIR /app
ADD . /app
COPY . /app
#COPY ./.env /app/.env
COPY env.example /app/.env

# Switching to a non-root user, please refer to https://aka.ms/vscode-docker-python-user-rights
RUN useradd appuser && chown -R appuser /app
RUN mkdir -p /app/static
RUN python manage.py collectstatic --noinput

#USER appuser
Expand Down

0 comments on commit 77ab44e

Please sign in to comment.