Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM alpine:latest

# Install python and pip
RUN apk add --no-cache --update python3 py3-pip bash
RUN apk add --no-cache --update python3 py3-pip bash shadow
ADD ./webapp/requirements.txt /tmp/requirements.txt

# Install dependencies
Expand All @@ -16,7 +16,7 @@ WORKDIR /opt/webapp
# EXPOSE 5000

# Run the image as a non-root user
RUN adduser -D myuser
RUN useradd myuser
USER myuser

# Run the app. CMD is required to run on Heroku
Expand Down