Run production server directly in CapRover

This commit is contained in:
Ben
2026-05-14 17:56:34 -07:00
parent d4bb8deb5e
commit 4a4b759a37
+2 -2
View File
@@ -4,9 +4,9 @@
"FROM node:20",
"WORKDIR /app",
"COPY hdyc-svelte/package*.json ./",
"RUN npm install",
"RUN npm ci",
"COPY hdyc-svelte/ .",
"RUN npm run build",
"CMD [\"npm\", \"run\", \"start\"]"
"CMD [\"node\", \"build\"]"
]
}