diff --git a/.dockerignore b/.dockerignore index 3d5ed1b..faccad0 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,5 @@ node_modules .git *.log +build +.DS_Store diff --git a/Dockerfile.build b/Dockerfile.build index df11716..48475aa 100644 --- a/Dockerfile.build +++ b/Dockerfile.build @@ -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 \ No newline at end of file