Update docker files to build from the folder above to include the proto files.

This commit is contained in:
iamBadgers
2025-06-07 23:30:26 -07:00
parent a2a51754f7
commit a3ecb70abe
8 changed files with 914 additions and 353 deletions

View File

@@ -1,12 +1,20 @@
FROM node:22.16
WORKDIR /srv/proto
COPY proto .
WORKDIR /srv/vault
COPY package.json .
COPY vault/package.json .
RUN npm install
COPY . .
COPY vault .
RUN npm install -g protoc
RUN npm install -g protoc-gen-js
RUN npm install -g protoc-gen-ts
RUN npm run build