Skip to content

Commit

Permalink
Fix Run on dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
brubluenel committed Sep 12, 2024
1 parent 3ab6e75 commit 193ab67
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
FROM node:18
RUN mkdir -p /var/app/happiness-backend
WORKDIR /var/app/happiness-backend
COPY package*.json ./
RUN npm install
COPY . .
RUN npm install
RUN npm run build
EXPOSE 3010
CMD [ "node", "dist/main.js" ]

0 comments on commit 193ab67

Please sign in to comment.