Serve in SPA mode
This commit is contained in:
@@ -28,4 +28,5 @@ WORKDIR /app
|
|||||||
# Copy only the built output - no source, no .env, no dev deps
|
# Copy only the built output - no source, no .env, no dev deps
|
||||||
COPY --from=builder /app/build ./build
|
COPY --from=builder /app/build ./build
|
||||||
|
|
||||||
|
# Serve in SPA mode
|
||||||
CMD ["npx", "serve", "-s", "build"]
|
CMD ["npx", "serve", "-s", "build"]
|
||||||
|
|||||||
Reference in New Issue
Block a user