Revert changes to dockerfile
This commit is contained in:
+2
-4
@@ -4,8 +4,7 @@
|
||||
|
||||
FROM node:20-bookworm AS builder
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends curl \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends curl
|
||||
|
||||
RUN npm install -g pnpm@latest
|
||||
|
||||
@@ -31,5 +30,4 @@ WORKDIR /app
|
||||
# Copy only the built output - no source, no .env, no dev deps
|
||||
COPY --from=builder /app/build ./build
|
||||
|
||||
# Serve in SPA mode
|
||||
CMD ["npx", "serve", "-s", "build"]
|
||||
CMD ["npx", "serve", "build"]
|
||||
|
||||
Reference in New Issue
Block a user