Skip to content

Commit

Permalink
chore: add multi-stage.
Browse files Browse the repository at this point in the history
  • Loading branch information
iv1310 committed Apr 3, 2024
1 parent b4e3b55 commit cb33e95
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine3.16 as builder
FROM node:16-alpine3.16 as dependencies

ARG GH_BACKEND_URL
ARG GH_IPFS_URL
Expand All @@ -16,6 +16,8 @@ COPY package.json yarn.lock* ./

RUN yarn install

FROM dependencies as builder

COPY . .

RUN set -x \
Expand Down

0 comments on commit cb33e95

Please sign in to comment.