Skip to content

Commit

Permalink
Update dockerfile for npm installer
Browse files Browse the repository at this point in the history
  • Loading branch information
maxxcrawford committed Jun 11, 2021
1 parent 300fd7e commit 058b03d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,17 @@ USER app
COPY --chown=app ./requirements.txt /app/requirements.txt
RUN pip install -r requirements.txt

COPY package*.json ./
RUN npm install

COPY --chown=app . /app
COPY --chown=app .env-dist /app/.env

RUN mkdir -p /app/staticfiles
RUN python manage.py collectstatic --no-input -v 2



ENTRYPOINT ["/app/.local/bin/gunicorn"]

CMD ["--config", "gunicorn.conf", "privaterelay.wsgi:application"]

0 comments on commit 058b03d

Please sign in to comment.