Skip to content

Commit 630ea55

Browse files
authored
Added a Dockerfile to starting a REPL for testing purposes (#7)
1 parent 8620d93 commit 630ea55

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Dockerfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM python:3.12-slim
2+
3+
WORKDIR /app
4+
5+
RUN pip install --no-cache-dir poetry
6+
7+
COPY pyproject.toml poetry.lock* ./
8+
9+
RUN poetry install --no-root
10+
11+
COPY . .
12+
13+
RUN poetry install
14+
15+
CMD ["poetry", "run", "python"]

0 commit comments

Comments
 (0)