Skip to content

Commit

Permalink
Fix Docker (#2144)
Browse files Browse the repository at this point in the history
* Update Dockerfile

* Update sourcemap in package.json
  • Loading branch information
symsym-1629 committed Aug 22, 2023
1 parent 920a44a commit dd6f8e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ COPY package.json yarn.lock tsconfig.json ./
RUN mkdir config resources && \
yarn install --production
# Copy the builded app from the builder
COPY --from=builder /draftbot/dist /draftbot/resources ./
COPY --from=builder /draftbot/dist ./dist
COPY --from=builder /draftbot/resources ./resources

# Command used to start the app
CMD [ "yarn", "dockerStart" ]
CMD [ "yarn", "dockerStart" ]
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"express": "4.18.2",
"link-module-alias": "1.2.0",
"mariadb": "3.0.2",
"source-map-support": "0.5.21",
"moment": "2.29.4",
"node-ipc": "10.1.0",
"random-js": "2.1.0",
Expand All @@ -61,7 +62,6 @@
"eslint-config-google": "0.14.0",
"jest": "29.6.2",
"jshint": "2.13.6",
"source-map-support": "0.5.21",
"ts-jest": "29.1.1"
}
}

0 comments on commit dd6f8e7

Please sign in to comment.