diff options
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile index 6bb18b9..b05a314 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,10 +9,11 @@ RUN rm -f target/x86_64-unknown-linux-musl/release/deps/shorest* FROM node:alpine as client WORKDIR /client -COPY client/package*.json ./ +COPY client/package.json ./ +COPY client/yarn.lock ./ RUN yarn install COPY client ./ -RUN yarn build +RUN yarn export FROM server-cache as server WORKDIR /server |
