mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
feat: import file-graph package
* Update Dockerfile structure, copy quests, packages to sub folder
This commit is contained in:
1 parent
6c70a6eaea
commit
c3683ddaea
9 files changed
+64
-15
No files matched your search
+7
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user