Skip to content

Commit

Permalink
Merge pull request #1786 from Mohmn/fix/production-build
Browse files Browse the repository at this point in the history
fix: run the build inside docker
  • Loading branch information
dadiorchen authored Jun 13, 2024
2 parents 61b1472 + 77f9c5d commit ce1f5f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ COPY package.json ./
COPY package-lock.json ./
RUN npm ci --silent
COPY . ./
CMD [ "npm", "run", "build-and-start" ]
RUN npm run build
CMD [ "npm", "run", "start" ]

0 comments on commit ce1f5f1

Please sign in to comment.