Upgrade node version; add cache for yarn in Dockerfile
This commit is contained in:
parent
4eed204572
commit
c7aad9d36a
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user