Browse Source

fix: drop frozen-lockfile from dockerfile for fixing builds without my local registry

remotes/philippdormann/main
Philipp Dormann 4 years ago
parent
commit
09394777a6
No known key found for this signature in database GPG Key ID: 3BB9ADD52DCA4314
  1. 4
      Dockerfile

4
Dockerfile

@ -1,7 +1,7 @@
FROM node:16.8.0-alpine3.14
WORKDIR /app
COPY . .
RUN yarn --frozen-lockfile
RUN yarn
RUN yarn build
#
FROM node:16.8.0-alpine3.14
@ -11,7 +11,7 @@ EXPOSE 50013
COPY package.json yarn.lock ./
COPY ./db /app/db
COPY ./server /app/server
RUN yarn --frozen-lockfile --prod
RUN yarn --prod
RUN yarn cache clean
COPY --from=0 /app/dist /app/dist
ENTRYPOINT ["node", "server/server.js"]

Loading…
Cancel
Save