switch to yarn

This commit is contained in:
Thomas Hobson 2021-03-29 21:33:49 +13:00
parent 58fb3ed172
commit 607123f73d
No known key found for this signature in database
GPG key ID: 9F1FD9D87950DB6F
8 changed files with 1720 additions and 1490 deletions

View file

@ -12,8 +12,8 @@ RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen
ENV NODE_ENV=production
WORKDIR /piston_api
COPY ["package.json", "yarn.lock", "./"]
RUN yarn
COPY ["package.json", "package-lock.json", "./"]
RUN npm i
COPY ./src ./src
CMD [ "node", "src", "-m", "-c", "/piston/config.yaml"]