Edit Dockerfile.dit
This commit is contained in:
1 parent
42f843b5cc
commit
1f119b6437
1 file changed
+1
@@ -9,6 +9,7 @@ COPY . .
|
||||
RUN sed -i 's/registry.npmjs.org/repo-mirror.mos.ru\/repository\/npm-public/g' package-lock.json
|
||||
RUN sed -i 's/github.com/repo-mirror.mos.ru\/repository\/raw-github/g' package-lock.json
|
||||
RUN sed -i 's/github.com/repo-mirror.mos.ru\/repository\/raw-github/g' package.json
|
||||
ENV NODE_OPTIONS="--max_old_space_size=4096"
|
||||
RUN npm ci
|
||||
RUN npm run build
|
||||
|
||||
|
||||
Reference in new issue
Block a user