mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
switch to yarn
This commit is contained in:
parent
58fb3ed172
commit
607123f73d
8 changed files with 1720 additions and 1490 deletions
|
@ -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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue