Skip to content

Commit

Permalink
Co-authored-by: Deepa <DeepsDali@users.noreply.github.com>
Browse files Browse the repository at this point in the history
Co-authored-by: Tess Phillips <tess-phillips@users.noreply.github.com>
  • Loading branch information
sgroi-l committed Oct 4, 2023
2 parents c57c3fc + 377963e commit b98cbf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ VOLUME /data
# Start the server by default, this can be overwritten at runtime
EXPOSE 3000
ENV DATABASE_URL="file:///data/sqlite.db"
CMD [ "node", "index.js" ]
CMD [ "npm", "run", "start" ]
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "FAC Week 3 Authentication",
"main": "index.js",
"scripts": {
"start": "node src/index",
"dev": "cross-env DB_FILE='db.sqlite' COOKIE_SECRET=abc nodemon src/index.js",
"seed": "cross-env DB_FILE='db.sqlite' node src/database/seed.js",
"test": "cross-env DB_FILE='test.sqlite' COOKIE_SECRET=abc node --test"
Expand Down

0 comments on commit b98cbf3

Please sign in to comment.