Skip to content

Commit

Permalink
fix: Dockerfile - build node_modules as production
Browse files Browse the repository at this point in the history
  • Loading branch information
olzzon committed Dec 14, 2021
1 parent 7d21d39 commit 41b39e9
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
Expand Up @@ -2,8 +2,7 @@ FROM node:16-alpine
RUN apk add --no-cache git
COPY . /opt/sisyfos-audio-controller
WORKDIR /opt/sisyfos-audio-controller
RUN yarn install
RUN yarn remove electron electron-builder prettier typescript
RUN yarn --prod
EXPOSE 1176/tcp
EXPOSE 1176/udp
EXPOSE 5255/tcp
Expand Down

0 comments on commit 41b39e9

Please sign in to comment.