Fixing build system
This commit is contained in:
parent
31eb7c0439
commit
bd32bfaae5
|
@ -1,3 +1,5 @@
|
||||||
node_modules
|
node_modules
|
||||||
.git
|
.git
|
||||||
*.log
|
*.log
|
||||||
|
build
|
||||||
|
.DS_Store
|
||||||
|
|
|
@ -16,8 +16,8 @@ COPY . .
|
||||||
# Build the application
|
# Build the application
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# Final stage: nothing needed, just to complete the multi-stage
|
# Final stage: Use a minimal base image
|
||||||
FROM scratch
|
FROM alpine:latest
|
||||||
|
|
||||||
# Copy the build output from the previous stage to a directory
|
# Copy the build output from the previous stage
|
||||||
COPY --from=build-stage /app/build ./build
|
COPY --from=build-stage /app/build ./build
|
Loading…
Reference in New Issue