Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
|
@@ -6,7 +6,12 @@ WORKDIR /app
|
|
| 6 |
|
| 7 |
# ホストのファイルをコンテナにコピー
|
| 8 |
COPY . .
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
RUN ./detection_ja.sh
|
|
|
|
| 10 |
RUN apt-get update && apt-get install -y python3 python3-pip
|
| 11 |
RUN apt-get update && \
|
| 12 |
apt-get install -y git-lfs && \
|
|
|
|
| 6 |
|
| 7 |
# ホストのファイルをコンテナにコピー
|
| 8 |
COPY . .
|
| 9 |
+
# detection_ja.sh に実行権限を付与
|
| 10 |
+
RUN chmod +x ./detection_ja.sh
|
| 11 |
+
|
| 12 |
+
# detection_ja.sh を実行
|
| 13 |
RUN ./detection_ja.sh
|
| 14 |
+
|
| 15 |
RUN apt-get update && apt-get install -y python3 python3-pip
|
| 16 |
RUN apt-get update && \
|
| 17 |
apt-get install -y git-lfs && \
|