Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
@@ -23,14 +23,18 @@ RUN mkdir -p /app/translations && chmod -R 777 /app/translations
|
|
23 |
RUN chmod -R 777 /app
|
24 |
RUN npm install --save @babel/runtime
|
25 |
# 依存関係をインストール(競合を無視) npx npm-check-updates -u &&
|
|
|
26 |
RUN npm install --legacy-peer-deps
|
27 |
-
|
|
|
28 |
# OpenSSL の互換オプションを有効化
|
29 |
ENV NODE_OPTIONS="--openssl-legacy-provider"
|
30 |
RUN pip install huggingface_hub --break-system-packages
|
31 |
RUN npm install git+https://huggingface.co/datasets/soiz1/s4s-vm
|
32 |
# コンテナの起動時にサーバーを実行
|
33 |
#CMD /bin/sh -c "python3 upload.py && npm start"
|
|
|
|
|
34 |
CMD /bin/sh -c "./upload.sh && NODE_OPTIONS="--max-old-space-size=15360" WEBPACK_VERBOSE=true BUILD_MODE=dist npm run build && npm start"
|
35 |
#CMD /bin/sh -c "npm start"
|
36 |
|
|
|
23 |
RUN chmod -R 777 /app
|
24 |
RUN npm install --save @babel/runtime
|
25 |
# 依存関係をインストール(競合を無視) npx npm-check-updates -u &&
|
26 |
+
RUN npm dedupe
|
27 |
RUN npm install --legacy-peer-deps
|
28 |
+
RUN npm uninstall babel-runtime
|
29 |
+
RUN npm install --save @babel/runtime
|
30 |
# OpenSSL の互換オプションを有効化
|
31 |
ENV NODE_OPTIONS="--openssl-legacy-provider"
|
32 |
RUN pip install huggingface_hub --break-system-packages
|
33 |
RUN npm install git+https://huggingface.co/datasets/soiz1/s4s-vm
|
34 |
# コンテナの起動時にサーバーを実行
|
35 |
#CMD /bin/sh -c "python3 upload.py && npm start"
|
36 |
+
RUN npm ls core-js
|
37 |
+
|
38 |
CMD /bin/sh -c "./upload.sh && NODE_OPTIONS="--max-old-space-size=15360" WEBPACK_VERBOSE=true BUILD_MODE=dist npm run build && npm start"
|
39 |
#CMD /bin/sh -c "npm start"
|
40 |
|