Move frontend into front end folder. Add build stuff to proto file. Finaly figured out the Vue bullshit.

This commit is contained in:
iamBadgers
2025-06-10 23:31:54 -07:00
parent 4f126594e5
commit 8d9bfa3fe0
45 changed files with 2231 additions and 291 deletions

23
frontend/Dockerfile Normal file
View File

@@ -0,0 +1,23 @@
FROM node:22.16
WORKDIR /srv/proto
COPY proto .
RUN npm install
RUN npm run build
WORKDIR /srv/rush-character-archive
COPY rush-character-archive/package.json .
RUN npm install
RUN npm i -g serve
COPY frontend/. .
RUN npm run build
EXPOSE 8080
CMD ["serve", "-s", "dist"]