mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-07 11:10:11 +08:00
refactor: move quests out of server
+ move quests from server/quests to ./quests + add frontend image in docker compose development
This commit is contained in:
1 parent
e54ae32960
commit
9aa9367f9e
17 files changed
+32
-18
No files matched your search
@@ -0,0 +1,16 @@
|
||||
FROM node
|
||||
|
||||
WORKDIR /app
|
||||
COPY server/package.json yarn.lock ./
|
||||
RUN yarn install --frozen-lockfile --production
|
||||
|
||||
COPY server/src ./src
|
||||
COPY server/swagger.yaml .
|
||||
COPY quests ./quests
|
||||
|
||||
ENV NODE_ENV=production
|
||||
ENV HOST=0.0.0.0
|
||||
ENV PORT=3000
|
||||
EXPOSE 3000
|
||||
|
||||
CMD [ "yarn", "start" ]
|
||||
Reference in new issue
Block a user