feat: import file-graph package

* Update Dockerfile structure, copy quests, packages to sub folder
This commit is contained in:
wancat committed 2023-08-29 11:58:14 +08:00
1 parent 6c70a6eaea
commit c3683ddaea
9 files changed
+64 -15

No files matched your search

+7 -3
View File
@@ -1,13 +1,17 @@
FROM node
WORKDIR /app
COPY server/package.json yarn.lock ./
COPY ./package.json yarn.lock ./
COPY server/package.json ./server/package.json
COPY packages/file-graph/package.json ./packages/file-graph/package.json
RUN yarn install --frozen-lockfile --production
COPY server/src ./src
COPY server/swagger.yaml .
COPY ./server ./server
COPY packages/file-graph ./packages/file-graph
COPY quests ./quests
WORKDIR /app/server
ENV NODE_ENV=production
ENV HOST=0.0.0.0
ENV PORT=3000