Skip to content

Commit

Permalink
v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AliveDevil committed Jul 31, 2023
1 parent 4af9672 commit 564e1ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

# Base image for runner
FROM python:3.11-alpine AS runner
RUN apk add --no-cache -y graphviz imagemagick make
RUN apk add --no-cache graphviz imagemagick make

# Load dependencies from pip
FROM python:3.11-alpine AS builder

COPY requirements.txt requirements.txt
RUN python 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:v1.0'

0 comments on commit 564e1ce

Please sign in to comment.