|
@@ -3,6 +3,10 @@ FROM node:gallium-alpine3.15
|
|
WORKDIR /usr/src/app
|
|
WORKDIR /usr/src/app
|
|
|
|
|
|
COPY . .
|
|
COPY . .
|
|
|
|
+RUN apk add --no-cache make gcc g++ python && \
|
|
|
|
+ npm install && \
|
|
|
|
+ npm rebuild bcrypt --build-from-source && \
|
|
|
|
+ apk del make gcc g++ python
|
|
|
|
|
|
RUN npm config set registry https://registry.npmmirror.com/
|
|
RUN npm config set registry https://registry.npmmirror.com/
|
|
RUN npm install -g npm
|
|
RUN npm install -g npm
|