Upgrade node version; add cache for yarn in Dockerfile
Some checks failed
Lint / lint (push) Has been cancelled
Test & Build / test (push) Has been cancelled

This commit is contained in:
Tims777 2024-10-06 13:12:33 +02:00
parent 4eed204572
commit c7aad9d36a

View File

@ -1,9 +1,9 @@
FROM node:12-alpine
FROM node:18-alpine
WORKDIR /excalidraw-room
COPY package.json yarn.lock ./
RUN yarn
RUN --mount=type=cache,target=/root/.yarn YARN_CACHE_FOLDER=/root/.yarn yarn
COPY tsconfig.json ./
COPY src ./src