We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bc030f0 + fc21339 commit 4a2d9c7Copy full SHA for 4a2d9c7
.dockerignore
@@ -0,0 +1,2 @@
1
+.git/
2
+__pycache__/
Dockerfile
@@ -0,0 +1,18 @@
+FROM python:3.11-slim
+
3
+WORKDIR /app
4
5
+RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
6
7
+RUN curl -sSL https://install.python-poetry.org | python3 -
8
9
+# Ensure Poetry is available in PATH
10
+ENV PATH="/root/.local/bin:$PATH"
11
12
+COPY pyproject.toml poetry.lock ./
13
14
+RUN poetry self add "poetry-plugin-export" && \
15
+ poetry export -f requirements.txt --without-hashes -o requirements.txt && \
16
+ pip install --no-cache-dir -r requirements.txt
17
18
+COPY . .
requirements.txt
@@ -7,4 +7,4 @@ httpx
cache_to_disk
# datasets
loguru
-pandas
+pandas
0 commit comments