Merge branch 'main' of git.phc.dm.unipi.it:phc/orario
commit
d5dd2a7824
@ -1,15 +1,8 @@
|
||||
FROM node:18
|
||||
|
||||
RUN npm install -g pnpm
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# pnpm fetch richiede solo il file lock
|
||||
COPY pnpm-lock.yaml ./
|
||||
|
||||
RUN pnpm fetch --prod
|
||||
|
||||
COPY . ./
|
||||
RUN pnpm install -r --offline --prod
|
||||
RUN npm install
|
||||
|
||||
CMD ["pnpm", "run", "build"]
|
||||
CMD ["npm", "run", "build"]
|
||||
|
Loading…
Reference in New Issue