Skip to content

Commit

Permalink
fix(docker): fix build due to path mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
ajhalili2006 authored Jun 7, 2024
1 parent e991b4b commit 7d58c2f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ COPY --from=ghcr.io/hadolint/hadolint:latest-alpine /bin/hadolint /usr/bin/hadol
ENV YARN_VERSION 1.22.22
COPY --from=node:20-alpine /opt/yarn-v$YARN_VERSION/bin/ /usr/local/bin/
COPY --from=node:20-alpine /usr/local/bin/node /usr/local/bin/node
COPY --from=node:20-alpine /usr/lib/node_modules/ /usr/lib/node_modules/
COPY --from=node:20-alpine /usr/local/lib/node_modules/ /usr/local/lib/node_modules/

ENV PACKAGES=/usr/local/lib/python3.11/site-packages PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.local/bin PYTHONDONTWRITEBYTECODE=1
LABEL org.opencontainers.image.description="GitLab CI image for custom mkdocs-material Docker image, alongside tools @ajhalili2006 use."
Expand Down Expand Up @@ -56,8 +56,7 @@ RUN pip install --no-cache \
cairosvg \
pipenv \
pipx \
&& npm install -g corepack \
&& corepack enable
&& corepack enable

# Trust directory, required for git >= 2.35.2
# Follows the docs for the Docker-based site build setup
Expand Down

0 comments on commit 7d58c2f

Please sign in to comment.