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

+4 -2
View File
@@ -1,7 +1,9 @@
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
ENV NODE_ENV=development
@@ -9,4 +11,4 @@ ENV HOST=0.0.0.0
ENV PORT=3000
EXPOSE 3000
CMD [ "yarn", "dev" ]
CMD [ "yarn", "server" ]