Spaces:
Sleeping
Sleeping
Commit
·
c39e953
1
Parent(s):
28972f4
fix: bug
Browse files- Dockerfile +7 -1
Dockerfile
CHANGED
@@ -4,8 +4,14 @@ FROM python:3.10-slim AS base
|
|
4 |
# 作業ディレクトリを設定
|
5 |
WORKDIR /home/user/app
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
COPY .git /home/user/app/.git
|
8 |
-
COPY .gitmodules /home/user/app/
|
9 |
COPY src /home/user/app/src
|
10 |
COPY requirements.txt /home/user/app/
|
11 |
COPY install.sh /home/user/app/
|
|
|
4 |
# 作業ディレクトリを設定
|
5 |
WORKDIR /home/user/app
|
6 |
|
7 |
+
# 必要なパッケージをインストール
|
8 |
+
RUN apt-get update && apt-get install -y --no-install-recommends \
|
9 |
+
git \
|
10 |
+
&& apt-get clean \
|
11 |
+
&& rm -rf /var/lib/apt/lists/*
|
12 |
+
|
13 |
COPY .git /home/user/app/.git
|
14 |
+
# COPY .gitmodules /home/user/app/
|
15 |
COPY src /home/user/app/src
|
16 |
COPY requirements.txt /home/user/app/
|
17 |
COPY install.sh /home/user/app/
|