Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option d is ambiguous (debug, disabled-login, disabled-password) #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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