update docker files to build

This commit is contained in:
Alex Holliday committed 2025-09-22 13:26:45 -07:00
1 parent 23126a92cd
commit 0b646ee64f
8 files changed
+49 -10

No files matched your search

+5 -2
View File
@@ -19,12 +19,15 @@ WORKDIR /app/server
COPY server ./
COPY --from=frontend-build /app/client/dist ./public
RUN npm install
RUN npm run build
COPY --from=frontend-build /app/client/dist ./public
RUN chmod +x ./scripts/inject-vars.sh
EXPOSE 52345
CMD ./scripts/inject-vars.sh && node ./src/index.js
CMD ./scripts/inject-vars.sh && node ./dist/index.js