soiz1 commited on
Commit
104f299
·
verified ·
1 Parent(s): c8abb98

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -8,6 +8,7 @@ WORKDIR /app
8
  COPY . .
9
  # detection_ja.sh に実行権限を付与
10
  RUN chmod +x ./replace_ja.sh
 
11
 
12
  RUN apt-get update && apt-get install -y python3 python3-pip
13
  RUN apt-get update && \
@@ -27,7 +28,8 @@ RUN npm install --legacy-peer-deps
27
  ENV NODE_OPTIONS="--openssl-legacy-provider"
28
 
29
  # コンテナの起動時にサーバーを実行
30
- CMD ["/bin/sh", "-c", "npm start"]
 
31
 
32
  # コンテナがリッスンするポート
33
  EXPOSE 3000
 
8
  COPY . .
9
  # detection_ja.sh に実行権限を付与
10
  RUN chmod +x ./replace_ja.sh
11
+ RUN chmod +x ./upload.sh
12
 
13
  RUN apt-get update && apt-get install -y python3 python3-pip
14
  RUN apt-get update && \
 
28
  ENV NODE_OPTIONS="--openssl-legacy-provider"
29
 
30
  # コンテナの起動時にサーバーを実行
31
+ #CMD /bin/sh -c "./upload.sh && npm start"
32
+ CMD /bin/sh -c "npm start"
33
 
34
  # コンテナがリッスンするポート
35
  EXPOSE 3000