Skip to content

Commit

Permalink
fix: Only install production dependencies when building Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
KvelaGorrrrnio committed Nov 4, 2021
1 parent b035347 commit 8ab2e7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ FROM node:12.13.1-alpine
RUN apk add --no-cache git
COPY . /opt/sisyfos-audio-controller
WORKDIR /opt/sisyfos-audio-controller
RUN yarn install
RUN yarn install --production --frozen-lockfile
EXPOSE 1176/tcp
EXPOSE 1176/udp
EXPOSE 5255/tcp
EXPOSE 5255/udp
CMD ["yarn", "start"]
CMD ["yarn", "start"]

0 comments on commit 8ab2e7d

Please sign in to comment.