Skip to content
This repository has been archived by the owner on Jun 22, 2023. It is now read-only.

Commit

Permalink
chore(project): update docker scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristiaanScheermeijer committed Mar 16, 2020
1 parent 34b5be0 commit 754c6f0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ COPY . .

EXPOSE 80

CMD ["npm", "start:prod"]
CMD ["npm", "run", "start:prod"]
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ services:

api:
build: ./
command: ["npm", "start"]
ports:
- 4000:4000
environment:
Expand All @@ -27,7 +28,6 @@ services:
NEO4J_USER: "neo4j"
NEO4J_PASSWORD: "letmein"
DEBUG: ce-api-*
# DEBUG: info
volumes:
- ./src:/app/src
links:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Copy link
@alastair

alastair Mar 16, 2020

Member

/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?

This comment has been minimized.

Copy link
@ChristiaanScheermeijer

ChristiaanScheermeijer Mar 16, 2020

Author Collaborator

The test:functional script isn't being used as it is not optimal yet. I'm actually not sure why this has changed...

"version": "conventional-changelog -i CHANGELOG.md -s && git add -A CHANGELOG.md"
},
"husky": {
Expand Down

0 comments on commit 754c6f0

Please sign in to comment.