Update pipeline & dockerfile
All checks were successful
Build and Publish / build (push) Successful in 11s
All checks were successful
Build and Publish / build (push) Successful in 11s
This commit is contained in:
@@ -6,9 +6,9 @@ RUN npm install
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
# Artifacts stage (per estrarre i build artifacts)
|
||||
FROM build AS artifacts
|
||||
RUN mkdir -p /out/dist && cp -r dist/* /out/dist/
|
||||
# Artifacts stage - esporta SOLO dist
|
||||
FROM scratch AS artifacts
|
||||
COPY --from=build /app/dist /dist
|
||||
|
||||
# Production stage
|
||||
FROM node:18-alpine AS production
|
||||
|
||||
Reference in New Issue
Block a user