Skip to content

Commit

Permalink
fix entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
unfor19 committed Jan 30, 2021
1 parent 6d6be36 commit addddba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ USER "${APP_USER_NAME}"

# Upgrade pip, setuptools and wheel
RUN pip install --user --upgrade pip && \
pip install --user --upgrade setuptools wheel keyrings.alt
pip install --user --upgrade setuptools wheel

# Copy requirements.txt from Build Stage
COPY --from=build /code/requirements.txt "${APP_ARTIFACT_DIR}"
Expand All @@ -88,5 +88,5 @@ RUN find . -type f -name *.whl -exec pip install --user {} \; -exec rm {} \; &&
# CMD python -m ${APP_NAME}

# Use ENTRYPOINT instead CMD to force the container to start the application
ENTRYPOINT python -m $APP_NAME
ENTRYPOINT ["frigga"]
### --------------------------------------------------------------------

0 comments on commit addddba

Please sign in to comment.