This repository has been archived by the owner on Jun 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(project): update docker scripts
- Loading branch information
1 parent
34b5be0
commit 754c6f0
Showing
3 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,4 @@ COPY . . | |
|
||
EXPOSE 80 | ||
|
||
CMD ["npm", "start:prod"] | ||
CMD ["npm", "run", "start:prod"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,8 +54,8 @@ | |
"build:debug": "rimraf ./dist && babel ./src --out-dir ./dist --copy-files --source-maps", | ||
"lint": "eslint src tests", | ||
"start": "nodemon --exec babel-node --watch src src/index.js", | ||
"start:prod": "nodemon --exec node dist/index.js", | ||
"test:functional": "CI=true jest tests/helpers.js tests/functional", | ||
"start:prod": "node dist/index.js", | ||
"test:functional": "CI=true jest /helpers.js tests/functional", | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
ChristiaanScheermeijer
Author
Collaborator
|
||
"version": "conventional-changelog -i CHANGELOG.md -s && git add -A CHANGELOG.md" | ||
}, | ||
"husky": { | ||
|
/helpers.js
is an absolute path now. I don't see this being installed into/
on the docker image. I'm not sure how tests work here, but maybe this is a mistake?