Skip to content
Merged
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
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ RUN pip install -r ${APP_DIR}/requirements.txt

# copy app files
COPY . ./

RUN useradd -ms /bin/bash anecdotes
RUN chown -R anecdotes:anecdotes /app
USER anecdotes
# command to run in container start
CMD python ${APP_DIR}/main.py
CMD python ${APP_DIR}/main.py