Copy yarn.lock instead of package-lock.json

This commit is contained in:
Thor77 2020-06-06 13:05:50 +02:00
parent ea72933424
commit ebb64c3811
No known key found for this signature in database
GPG Key ID: 5051E71B46AA669A
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ WORKDIR /srv
COPY js /srv/js
COPY pages /srv/pages
COPY static /srv/static
COPY next.config.js package.json package-lock.json server.js yarn.lock /srv/
COPY next.config.js package.json yarn.lock server.js yarn.lock /srv/
RUN yarn install
RUN yarn build
RUN yarn cache clean