20 lines
523 B
Docker
20 lines
523 B
Docker
FROM python:3.12-slim
|
|
|
|
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1
|
|
ENV PYTHONPATH=/app
|
|
|
|
WORKDIR /
|
|
|
|
COPY app/services/parser/excel/pyproject.toml ./
|
|
COPY app/services/parser/excel/README.md ./
|
|
|
|
COPY app/core ./app/core
|
|
COPY app/services/common/ ./app/services/common/
|
|
COPY app/services/types/ ./app/services/types/
|
|
COPY app/services/parser/excel/ ./app/services/parser/excel/
|
|
|
|
RUN pip install --upgrade pip && pip install --no-cache-dir .
|
|
RUN mkdir -p /app/data
|
|
|
|
CMD ["python", "-m", "app.services.parser.excel.main"]
|