Skip to content

Commit

Permalink
create dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
RbAvci committed Jul 2, 2024
1 parent 6becae6 commit 5cb140e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM node:20.14.0-alpine3.20

RUN npm install pm2 -g

WORKDIR /usr/local/watch-next
COPY . /usr/local/watch-next
RUN npm install
RUN npm run build

CMD "pm2-runtime" "server/app.js"

0 comments on commit 5cb140e

Please sign in to comment.