Update Dockerfile
This commit is contained in:
parent
cab30b7a7d
commit
d80ccd2758
1 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,8 @@ WORKDIR /app
|
||||||
|
|
||||||
# Copy the files needed to install deps
|
# Copy the files needed to install deps
|
||||||
COPY package.json yarn.lock ./
|
COPY package.json yarn.lock ./
|
||||||
RUN yarn install --cpu=x64 --os=linux --libc=musl --frozen-lockfile
|
RUN yarn add sharp
|
||||||
|
RUN yarn install --frozen-lockfile
|
||||||
|
|
||||||
## BUILD STEP
|
## BUILD STEP
|
||||||
# Rebuild the source code only when needed
|
# Rebuild the source code only when needed
|
||||||
|
|
Loading…
Reference in a new issue