Skip to content

Commit

Permalink
Copy binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
AliveDevil committed Jul 31, 2023
1 parent ea8396f commit 839bd6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ RUN apk add --no-cache graphviz imagemagick make
FROM python:3.11-alpine AS builder

COPY requirements.txt requirements.txt
RUN python -m pip --no-cache-dir install -t /sphinx -r requirements.txt
RUN python -m pip --no-cache-dir install --prefix /sphinx -r requirements.txt

# Store dependencies in
FROM runner AS runtime-image
COPY --from=builder /sphinx /usr/local/lib/python3.11/site-packages
COPY --from=builder /sphinx /usr/local
ADD entrypoint.py /entrypoint.py
ADD sphinx_action /sphinx_action

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ inputs:
required: false
runs:
using: 'docker'
image: 'docker://ghcr.io/iterate-ch/sphinx-action'
image: 'docker://ghcr.io/iterate-ch/sphinx-action:v0.2'

0 comments on commit 839bd6c

Please sign in to comment.