Files
rush-character-archive/frontend/Dockerfile
2025-06-12 00:10:12 -07:00

24 lines
283 B
Docker

FROM node:22.16
WORKDIR /srv/proto
COPY proto/ .
# RUN npm install
# RUN npm run build
WORKDIR /srv/frontend
COPY frontend/package.json .
RUN npm install
COPY frontend/. .
RUN npm i -g serve
RUN npm run build_protos
RUN npm run build
EXPOSE 8080
CMD ["serve", "-s", "dist"]