Skip to content

Commit

Permalink
Merge pull request #149 from HannesOberreiter/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
HannesOberreiter committed Mar 22, 2024
2 parents b8fdd20 + 5748bb6 commit 5317d78
Show file tree
Hide file tree
Showing 4 changed files with 690 additions and 405 deletions.
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ FROM node:20-alpine
RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app
WORKDIR /home/node/app

# Install pm2 globally
RUN npm install pm2 -g

# Env and User
USER node
COPY --chown=node:node . .
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sleep 5
npm run migrate
pm2-runtime dist/app.bootstrap.js
node dist/app.bootstrap.js

0 comments on commit 5317d78

Please sign in to comment.