Modern Docker Management, Designed for Everyone
Go composecontainer-managementcontainersdockerdocker-composedocker-managementgoself-hostedsveltekittypescriptweb-ui
chore: include tests and email-templates package.json in Dockerfile and Dockerfile.dev
Kyle Mendelladc19c5b66a9
diff --git a/.dockerignore b/.dockerignoreindex 9b723b7d8..8c4975775 100644--- a/.dockerignore+++ b/.dockerignore@@ -33,6 +33,7 @@ LICENSE*.mddocstests+!tests/package.json**/*.test.js**/*.spec.js**/*.stories.jsdiff --git a/docker/Dockerfile b/docker/Dockerfileindex 12956de5f..e846840ba 100644--- a/docker/Dockerfile+++ b/docker/Dockerfile@@ -9,9 +9,11 @@ WORKDIR /appCOPY --chown=vp:vp pnpm-lock.yaml pnpm-workspace.yaml package.json ./COPY --chown=vp:vp frontend/package.json ./frontend/package.json+COPY --chown=vp:vp tests/package.json ./tests/package.json+COPY --chown=vp:vp email-templates/package.json ./email-templates/package.jsonRUN --mount=type=cache,id=arcane-pnpm-v3,target=/home/vp/.local/share/pnpm/store,sharing=locked,uid=1000,gid=1000 \- vp install --frozen-lockfile --prefer-offline+ vp install --frozen-lockfile --prefer-offline --filter ./frontend...RUN printf 'NODE_VERSION=%s\nSVELTEKIT_VERSION=%s\n' \"$(vp node --version)" \diff --git a/docker/Dockerfile.dev b/docker/Dockerfile.devindex 809facfb2..cf4daeb32 100644--- a/docker/Dockerfile.dev+++ b/docker/Dockerfile.dev@@ -10,11 +10,13 @@ WORKDIR /app# Copy dependency manifests first to preserve the install layer cacheCOPY --chown=vp:vp pnpm-lock.yaml pnpm-workspace.yaml package.json ./COPY --chown=vp:vp frontend/package.json ./frontend/package.json+COPY --chown=vp:vp tests/package.json ./tests/package.json+COPY --chown=vp:vp email-templates/package.json ./email-templates/package.json# Install dependencies with a persistent package store cacheRUN mkdir -p /home/vp/.local/share/pnpm/storeRUN --mount=type=cache,id=arcane-pnpm-v3,target=/home/vp/.local/share/pnpm/store,sharing=locked,uid=1000,gid=1000 \- vp install --frozen-lockfile --prefer-offline+ vp install --frozen-lockfile --prefer-offline --filter ./frontend...# Copy frontend sourceCOPY --chown=vp:vp frontend ./frontend