Spaces:
Sleeping
Sleeping
Commit
·
8f5ef14
1
Parent(s):
8c90ddf
fix: bug
Browse files- Dockerfile +1 -7
Dockerfile
CHANGED
@@ -4,14 +4,8 @@ FROM python:3.10-slim AS base
|
|
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/
|
|
|
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/
|