Merge pull request #91 from fardin-developer/fardin/dev

docker added
This commit is contained in:
Alexander Myasoedov
2025-01-19 07:30:37 +02:00
committed by GitHub
3 changed files with 21 additions and 1 deletions
+2
View File
@@ -0,0 +1,2 @@
.git/
__pycache__/
+18
View File
@@ -0,0 +1,18 @@
FROM python:3.11-slim
WORKDIR /app
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
RUN curl -sSL https://install.python-poetry.org | python3 -
# Ensure Poetry is available in PATH
ENV PATH="/root/.local/bin:$PATH"
COPY pyproject.toml poetry.lock ./
RUN poetry self add "poetry-plugin-export" && \
poetry export -f requirements.txt --without-hashes -o requirements.txt && \
pip install --no-cache-dir -r requirements.txt
COPY . .
+1 -1
View File
@@ -7,4 +7,4 @@ httpx
cache_to_disk
# datasets
loguru
pandas
pandas