fix: Dockerfile missing workspace name

This commit updates the Dockerfile to build the @linux-odyssey/models and @linux-odyssey/constants workspaces, in addition to the existing workspaces.
This commit is contained in:
wancat committed 2024-02-22 22:26:45 +08:00
1 parent 48cfcb2c36
commit f29dcf810f
1 file changed
+2 -1
+2 -1
View File
@@ -28,7 +28,8 @@ COPY quests ./quests
ENV NODE_ENV=production ENV NODE_ENV=production
RUN yarn workspace @linux-odyssey/file-graph build RUN yarn workspace @linux-odyssey/file-graph build
RUN yarn workspace @linux-odyssey/utils build RUN yarn workspace @linux-odyssey/utils build
RUN yarn workspace @linux-odyssey/ build RUN yarn workspace @linux-odyssey/models build
RUN yarn workspace @linux-odyssey/constants build
RUN yarn workspace server build RUN yarn workspace server build
WORKDIR /app/server WORKDIR /app/server
CMD [ "yarn", "start" ] CMD [ "yarn", "start" ]