Skip to content

Commit cb33e95

Browse files
committed
chore: add multi-stage.
1 parent b4e3b55 commit cb33e95

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker/Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:16-alpine3.16 as builder
1+
FROM node:16-alpine3.16 as dependencies
22

33
ARG GH_BACKEND_URL
44
ARG GH_IPFS_URL
@@ -16,6 +16,8 @@ COPY package.json yarn.lock* ./
1616

1717
RUN yarn install
1818

19+
FROM dependencies as builder
20+
1921
COPY . .
2022

2123
RUN set -x \

0 commit comments

Comments
 (0)