File tree Expand file tree Collapse file tree 21 files changed +239
-79
lines changed Expand file tree Collapse file tree 21 files changed +239
-79
lines changed Original file line number Diff line number Diff line change @@ -4,19 +4,14 @@ WORKDIR /app
4
4
5
5
RUN apt-get update && apt-get install -y
6
6
7
- RUN pip install poetry
8
-
9
- COPY pyproject.toml ./
7
+ COPY pyproject.toml requirements.txt ./
10
8
11
9
COPY . .
12
10
13
- # Configure poetry to not create virtual environment
14
- RUN poetry config virtualenvs.create false
15
-
16
- # Install dependencies
17
- RUN poetry install --no-interaction --no-ansi
11
+ # Install dependencies
12
+ RUN pip install -e .
18
13
19
14
# Expose port 80
20
15
EXPOSE 80
21
16
22
- CMD poetry run python -m src.services
17
+ CMD [ " python" , "-m" , " src.services" ]
Original file line number Diff line number Diff line change
1
+ FROM python:3.12-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN apt-get update && apt-get install -y
6
+
7
+ COPY pyproject.toml requirements.txt ./
8
+
9
+ COPY . .
10
+
11
+ # Install dependencies
12
+ RUN pip install -e .
13
+
14
+ # Expose port 80
15
+ EXPOSE 80
16
+
17
+ CMD ["python" , "-m" , "src.services" ]
Original file line number Diff line number Diff line change @@ -4,19 +4,14 @@ WORKDIR /app
4
4
5
5
RUN apt-get update && apt-get install -y
6
6
7
- RUN pip install poetry
8
-
9
- COPY pyproject.toml ./
7
+ COPY pyproject.toml requirements.txt ./
10
8
11
9
COPY . .
12
10
13
- # Configure poetry to not create virtual environment
14
- RUN poetry config virtualenvs.create false
15
-
16
- # Install dependencies
17
- RUN poetry install --no-interaction --no-ansi
11
+ # Install dependencies
12
+ RUN pip install -e .
18
13
19
14
# Expose port 80
20
15
EXPOSE 80
21
16
22
- CMD poetry run python -m src.services
17
+ CMD [ " python" , "-m" , " src.services" ]
Original file line number Diff line number Diff line change
1
+ FROM python:3.12-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN apt-get update && apt-get install -y
6
+
7
+ COPY pyproject.toml requirements.txt ./
8
+
9
+ COPY . .
10
+
11
+ # Install dependencies
12
+ RUN pip install -e .
13
+
14
+ # Expose port 80
15
+ EXPOSE 80
16
+
17
+ CMD ["python" , "-m" , "src.services" ]
Original file line number Diff line number Diff line change
1
+ FROM python:3.12-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN apt-get update && apt-get install -y
6
+
7
+ COPY pyproject.toml requirements.txt ./
8
+
9
+ COPY . .
10
+
11
+ # Install dependencies
12
+ RUN pip install -e .
13
+
14
+ # Expose port 80
15
+ EXPOSE 80
16
+
17
+ CMD ["python" , "-m" , "src.services" ]
Original file line number Diff line number Diff line change
1
+ FROM python:3.12-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN apt-get update && apt-get install -y
6
+
7
+ COPY pyproject.toml requirements.txt ./
8
+
9
+ COPY . .
10
+
11
+ # Install dependencies
12
+ RUN pip install -e .
13
+
14
+ # Expose port 80
15
+ EXPOSE 80
16
+
17
+ CMD ["python" , "-m" , "src.services" ]
Original file line number Diff line number Diff line change
1
+ FROM python:3.12-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN apt-get update && apt-get install -y
6
+
7
+ COPY pyproject.toml requirements.txt ./
8
+
9
+ COPY . .
10
+
11
+ # Install dependencies
12
+ RUN pip install -e .
13
+
14
+ # Expose port 80
15
+ EXPOSE 80
16
+
17
+ CMD ["python" , "-m" , "src.services" ]
Original file line number Diff line number Diff line change @@ -4,19 +4,14 @@ WORKDIR /app
4
4
5
5
RUN apt-get update && apt-get install -y
6
6
7
- RUN pip install poetry
8
-
9
- COPY pyproject.toml ./
7
+ COPY pyproject.toml requirements.txt ./
10
8
11
9
COPY . .
12
10
13
- # Configure poetry to not create virtual environment
14
- RUN poetry config virtualenvs.create false
15
-
16
- # Install dependencies
17
- RUN poetry install --no-interaction --no-ansi
11
+ # Install dependencies
12
+ RUN pip install -e .
18
13
19
14
# Expose port 80
20
15
EXPOSE 80
21
16
22
- CMD poetry run python -m src.services
17
+ CMD [ " python" , "-m" , " src.services" ]
Original file line number Diff line number Diff line change @@ -4,19 +4,14 @@ WORKDIR /app
4
4
5
5
RUN apt-get update && apt-get install -y
6
6
7
- RUN pip install poetry
8
-
9
- COPY pyproject.toml ./
7
+ COPY pyproject.toml requirements.txt ./
10
8
11
9
COPY . .
12
10
13
- # Configure poetry to not create virtual environment
14
- RUN poetry config virtualenvs.create false
15
-
16
- # Install dependencies
17
- RUN poetry install --no-interaction --no-ansi
11
+ # Install dependencies
12
+ RUN pip install -e .
18
13
19
14
# Expose port 80
20
15
EXPOSE 80
21
16
22
- CMD poetry run python -m src.services
17
+ CMD [ " python" , "-m" , " src.services" ]
Original file line number Diff line number Diff line change
1
+ FROM python:3.12-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN apt-get update && apt-get install -y
6
+
7
+ COPY pyproject.toml requirements.txt ./
8
+
9
+ COPY . .
10
+
11
+ # Install dependencies
12
+ RUN pip install -e .
13
+
14
+ # Expose port 80
15
+ EXPOSE 80
16
+
17
+ CMD ["python" , "-m" , "src.services" ]
Original file line number Diff line number Diff line change
1
+ FROM python:3.12-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN apt-get update && apt-get install -y
6
+
7
+ COPY pyproject.toml requirements.txt ./
8
+
9
+ COPY . .
10
+
11
+ # Install dependencies
12
+ RUN pip install -e .
13
+
14
+ # Expose port 80
15
+ EXPOSE 80
16
+
17
+ CMD ["python" , "-m" , "src.services" ]
Original file line number Diff line number Diff line change
1
+ FROM python:3.12-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN apt-get update && apt-get install -y
6
+
7
+ COPY pyproject.toml requirements.txt ./
8
+
9
+ COPY . .
10
+
11
+ # Install dependencies
12
+ RUN pip install -e .
13
+
14
+ # Expose port 80
15
+ EXPOSE 80
16
+
17
+ CMD ["python" , "-m" , "src.services" ]
Original file line number Diff line number Diff line change
1
+ FROM python:3.12-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN apt-get update && apt-get install -y
6
+
7
+ COPY pyproject.toml requirements.txt ./
8
+
9
+ COPY . .
10
+
11
+ # Install dependencies
12
+ RUN pip install -e .
13
+
14
+ # Expose port 80
15
+ EXPOSE 80
16
+
17
+ CMD ["python" , "-m" , "src.services" ]
Original file line number Diff line number Diff line change
1
+ FROM python:3.12-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN apt-get update && apt-get install -y
6
+
7
+ COPY pyproject.toml requirements.txt ./
8
+
9
+ COPY . .
10
+
11
+ # Install dependencies
12
+ RUN pip install -e .
13
+
14
+ # Expose port 80
15
+ EXPOSE 80
16
+
17
+ CMD ["python" , "-m" , "src.services" ]
Original file line number Diff line number Diff line change @@ -4,19 +4,14 @@ WORKDIR /app
4
4
5
5
RUN apt-get update && apt-get install -y
6
6
7
- RUN pip install poetry
8
-
9
- COPY pyproject.toml ./
7
+ COPY pyproject.toml requirements.txt ./
10
8
11
9
COPY . .
12
10
13
- # Configure poetry to not create virtual environment
14
- RUN poetry config virtualenvs.create false
15
-
16
- # Install dependencies
17
- RUN poetry install --no-interaction --no-ansi
11
+ # Install dependencies
12
+ RUN pip install -e .
18
13
19
14
# Expose port 80
20
15
EXPOSE 80
21
16
22
- CMD poetry run python -m src.services
17
+ CMD [ " python" , "-m" , " src.services" ]
Original file line number Diff line number Diff line change
1
+ FROM python:3.12-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN apt-get update && apt-get install -y
6
+
7
+ COPY pyproject.toml requirements.txt ./
8
+
9
+ COPY . .
10
+
11
+ # Install dependencies
12
+ RUN pip install -e .
13
+
14
+ # Expose port 80
15
+ EXPOSE 80
16
+
17
+ CMD ["python" , "-m" , "src.services" ]
Original file line number Diff line number Diff line change @@ -4,19 +4,14 @@ WORKDIR /app
4
4
5
5
RUN apt-get update && apt-get install -y
6
6
7
- RUN pip install poetry
8
-
9
- COPY pyproject.toml ./
7
+ COPY pyproject.toml requirements.txt ./
10
8
11
9
COPY . .
12
10
13
- # Configure poetry to not create virtual environment
14
- RUN poetry config virtualenvs.create false
15
-
16
- # Install dependencies
17
- RUN poetry install --no-interaction --no-ansi
11
+ # Install dependencies
12
+ RUN pip install -e .
18
13
19
14
# Expose port 80
20
15
EXPOSE 80
21
16
22
- CMD poetry run python -m src.services
17
+ CMD [ " python" , "-m" , " src.services" ]
Original file line number Diff line number Diff line change @@ -8,18 +8,14 @@ RUN apt-get update && apt-get install -y \
8
8
libgl1-mesa-glx \
9
9
&& apt-get clean && rm -rf /var/lib/apt/lists/*
10
10
11
- # Install poetry in the same step to reuse the base layer
12
- RUN pip install poetry \
13
- && poetry config virtualenvs.create false
14
-
15
- COPY pyproject.toml ./
11
+ COPY pyproject.toml requirements.txt ./
16
12
17
13
COPY . .
18
14
19
15
# Install dependencies
20
- RUN poetry install --no-interaction --no-ansi
16
+ RUN pip install -e .
21
17
22
18
# Expose port 80
23
19
EXPOSE 80
24
20
25
- CMD poetry run python -m src.services
21
+ CMD [ " python" , "-m" , " src.services" ]
Original file line number Diff line number Diff line change @@ -4,19 +4,14 @@ WORKDIR /app
4
4
5
5
RUN apt-get update && apt-get install -y
6
6
7
- RUN pip install poetry
8
-
9
- COPY pyproject.toml ./
7
+ COPY pyproject.toml requirements.txt ./
10
8
11
9
COPY . .
12
10
13
- # Configure poetry to not create virtual environment
14
- RUN poetry config virtualenvs.create false
15
-
16
- # Install dependencies
17
- RUN poetry install --no-interaction --no-ansi
11
+ # Install dependencies
12
+ RUN pip install -e .
18
13
19
14
# Expose port 80
20
15
EXPOSE 80
21
16
22
- CMD poetry run python -m src.services
17
+ CMD [ " python" , "-m" , " src.services" ]
You can’t perform that action at this time.
0 commit comments