This commit is contained in:
Alex Holliday committed 2025-05-22 09:20:41 -07:00
1 parent 7b117d938f
commit d3b446685f
6 files changed
+1552 -509

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
FROM node:20-alpine AS frontend-build
WORKDIR /app/client
COPY client/package*.json ./
RUN npm ci
COPY client ./
RUN npm run build
FROM node:20-alpine AS backend
WORKDIR /app/server
COPY server ./
COPY --from=frontend-build /app/client/dist ./public
RUN npm ci
RUN chmod +x ./scripts/inject-vars.sh
EXPOSE 52345
CMD ./scripts/inject-vars.sh && node ./index.js