Fixing build system
This commit is contained in:
parent
31eb7c0439
commit
bd32bfaae5
|
@ -1,3 +1,5 @@
|
|||
node_modules
|
||||
.git
|
||||
*.log
|
||||
build
|
||||
.DS_Store
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue