Skip to content

Commit

Permalink
Fix docker image to include full deployment requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
MJGaughran committed Oct 1, 2024
1 parent 86e9939 commit 22b22ed
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ WORKDIR /context
RUN touch dev-requirements.txt && pip install -c dev-requirements.txt .

# The runtime stage copies the built venv into a slim runtime container
FROM python:${PYTHON_VERSION}-slim as runtime
FROM build as runtime
# Add apt-get system dependecies for runtime here if needed
COPY --from=build /venv/ /venv/
ENV PATH=/venv/bin:$PATH

ENTRYPOINT ["deploy-tools"]
CMD ["--version"]

0 comments on commit 22b22ed

Please sign in to comment.