Fixing build system

This commit is contained in:
Steve White 2024-10-29 19:41:34 -05:00
parent 31eb7c0439
commit bd32bfaae5
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,5 @@
node_modules
.git
*.log
build
.DS_Store

View File

@ -16,8 +16,8 @@ COPY . .
# Build the application
RUN npm run build
# Final stage: nothing needed, just to complete the multi-stage
FROM scratch
# Final stage: Use a minimal base image
FROM alpine:latest
# Copy the build output from the previous stage to a directory
COPY --from=build-stage /app/build ./build
# Copy the build output from the previous stage
COPY --from=build-stage /app/build ./build