Skip to content

Commit c4ce9d5

Browse files
committed
Add dockerfiles
1 parent c42083e commit c4ce9d5

File tree

21 files changed

+239
-79
lines changed

21 files changed

+239
-79
lines changed

audio_transcript/Dockerfile

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,14 @@ WORKDIR /app
44

55
RUN apt-get update && apt-get install -y
66

7-
RUN pip install poetry
8-
9-
COPY pyproject.toml ./
7+
COPY pyproject.toml requirements.txt ./
108

119
COPY . .
1210

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 .
1813

1914
# Expose port 80
2015
EXPOSE 80
2116

22-
CMD poetry run python -m src.services
17+
CMD ["python", "-m", "src.services"]
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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"]

community/e2b/Dockerfile

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,14 @@ WORKDIR /app
44

55
RUN apt-get update && apt-get install -y
66

7-
RUN pip install poetry
8-
9-
COPY pyproject.toml ./
7+
COPY pyproject.toml requirements.txt ./
108

119
COPY . .
1210

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 .
1813

1914
# Expose port 80
2015
EXPOSE 80
2116

22-
CMD poetry run python -m src.services
17+
CMD ["python", "-m", "src.services"]

community/elevenlabs/Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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"]
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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"]

community/flask_gemini/Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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"]
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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"]

community/gemini/Dockerfile

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,14 @@ WORKDIR /app
44

55
RUN apt-get update && apt-get install -y
66

7-
RUN pip install poetry
8-
9-
COPY pyproject.toml ./
7+
COPY pyproject.toml requirements.txt ./
108

119
COPY . .
1210

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 .
1813

1914
# Expose port 80
2015
EXPOSE 80
2116

22-
CMD poetry run python -m src.services
17+
CMD ["python", "-m", "src.services"]

community/lmnt/Dockerfile

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,14 @@ WORKDIR /app
44

55
RUN apt-get update && apt-get install -y
66

7-
RUN pip install poetry
8-
9-
COPY pyproject.toml ./
7+
COPY pyproject.toml requirements.txt ./
108

119
COPY . .
1210

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 .
1813

1914
# Expose port 80
2015
EXPOSE 80
2116

22-
CMD poetry run python -m src.services
17+
CMD ["python", "-m", "src.services"]
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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"]

community/stripe_ai/Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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"]

community/weaviate_search/Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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"]

email_sender/Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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"]

encryption/Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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"]

features/child_workflows/Dockerfile

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,14 @@ WORKDIR /app
44

55
RUN apt-get update && apt-get install -y
66

7-
RUN pip install poetry
8-
9-
COPY pyproject.toml ./
7+
COPY pyproject.toml requirements.txt ./
108

119
COPY . .
1210

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 .
1813

1914
# Expose port 80
2015
EXPOSE 80
2116

22-
CMD poetry run python -m src.services
17+
CMD ["python", "-m", "src.services"]

human_loop/Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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"]

openai_greet/Dockerfile

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,14 @@ WORKDIR /app
44

55
RUN apt-get update && apt-get install -y
66

7-
RUN pip install poetry
8-
9-
COPY pyproject.toml ./
7+
COPY pyproject.toml requirements.txt ./
108

119
COPY . .
1210

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 .
1813

1914
# Expose port 80
2015
EXPOSE 80
2116

22-
CMD poetry run python -m src.services
17+
CMD ["python", "-m", "src.services"]

pdf_ocr/Dockerfile

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,14 @@ RUN apt-get update && apt-get install -y \
88
libgl1-mesa-glx \
99
&& apt-get clean && rm -rf /var/lib/apt/lists/*
1010

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 ./
1612

1713
COPY . .
1814

1915
# Install dependencies
20-
RUN poetry install --no-interaction --no-ansi
16+
RUN pip install -e .
2117

2218
# Expose port 80
2319
EXPOSE 80
2420

25-
CMD poetry run python -m src.services
21+
CMD ["python", "-m", "src.services"]

production_demo/Dockerfile

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,14 @@ WORKDIR /app
44

55
RUN apt-get update && apt-get install -y
66

7-
RUN pip install poetry
8-
9-
COPY pyproject.toml ./
7+
COPY pyproject.toml requirements.txt ./
108

119
COPY . .
1210

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 .
1813

1914
# Expose port 80
2015
EXPOSE 80
2116

22-
CMD poetry run python -m src.services
17+
CMD ["python", "-m", "src.services"]

0 commit comments

Comments
 (0)