Skip to content

Commit

Permalink
Dockefile: Fix build step
Browse files Browse the repository at this point in the history
Fix #73

Replace 'np run build' with 'rpm run build:server'

Commit e0aba58 introduced a regression
by replacing npm script "build" with "build:server".

This is quick fix to make top level Dockerfile build again.

Signed-off-by: Gianpaolo Macario <[email protected]>
  • Loading branch information
gmacario committed Jul 22, 2021
1 parent 4c22b1f commit c9b6997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ COPY ["package.json", "package-lock.json*", "npm-shrinkwrap.json*", "./"]
# RUN ls -laR
RUN npm install --silent
COPY . .
RUN npm run build
RUN npm run build:server
# RUN ls -la
# RUN ls -laR dist/
CMD ["node", "dist/app.js"]
Expand Down

0 comments on commit c9b6997

Please sign in to comment.