Skip to content

Commit

Permalink
updated docker to update database
Browse files Browse the repository at this point in the history
  • Loading branch information
imagineeeinc committed Oct 11, 2024
1 parent 6b4cb28 commit d0899e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ RUN npm prune --production
ENV NODE_ENV=production
# ENV PORT=3000

ENTRYPOINT ["node", "server/index.js"]
ENTRYPOINT ["npm", "start"]
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"start": "node server/index.js",
"start": "npm run gen:db &&node server/index.js",
"gen:db": "node scripts/sqlite.js"
},
"devDependencies": {
Expand Down

0 comments on commit d0899e5

Please sign in to comment.