Merge pull request #26 from beatz174-bit/codex/fix-docker-build-caching-issues

Ensure build stage has dependencies available
This commit is contained in:
beatz174-bit
2025-11-23 10:23:17 +10:00
committed by GitHub
+1 -1
View File
@@ -10,7 +10,7 @@ RUN --mount=type=cache,target=/root/.npm \
COPY index.html ./ COPY index.html ./
COPY src ./src COPY src ./src
COPY public ./public COPY public ./public
RUN npm run build RUN --mount=type=cache,target=/app/node_modules npm run build
# Serve stage # Serve stage
FROM nginx:1.27-alpine FROM nginx:1.27-alpine