Commit e46288c9 authored by kaiyou's avatar kaiyou

Install npm manually when building the Docker image

parent 99f78351
......@@ -5,7 +5,7 @@ RUN apk add --no-cache nginx supervisor
ADD . /app
WORKDIR /app
RUN apk add --no-cache nodejs \
RUN apk add --no-cache nodejs npm \
&& npm install \
&& npm run build \
&& rm -rf node_modules \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment