Skip to content
Snippets Groups Projects
Unverified Commit fac7ebf4 authored by Acid Chicken (硫酸鶏)'s avatar Acid Chicken (硫酸鶏) Committed by GitHub
Browse files

Fix Dockerfile (#4214)

* Update Dockerfile

* Update Dockerfile
parent a0769d65
No related branches found
No related tags found
No related merge requests found
......@@ -23,15 +23,11 @@ RUN apk add --no-cache \
procps \
python \
zlib-dev
RUN npm i -g node-gyp
COPY ./package.json ./
RUN npm i
RUN npm i -g yarn
COPY . ./
RUN node-gyp configure \
&& node-gyp build \
&& npm run build
RUN yarn install
RUN yarn build
FROM base AS runner
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment