refactor: rename DockerfileTest back to Dockerfile

This commit is contained in:
2026-03-18 12:24:13 -05:00
parent ca1045effb
commit 9b1108da5c
2 changed files with 1 additions and 1 deletions

26
Dockerfile Normal file
View File

@@ -0,0 +1,26 @@
FROM python:3.13-slim
RUN apt-get update && apt-get install -y --no-install-recommends curl && rm -rf /var/lib/apt/lists/*
ENV PYTHONPATH=/app/ \
PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1 \
POETRY_NO_INTERACTION=1 \
POETRY_VIRTUALENVS_CREATE=false \
POETRY_CACHE_DIR=/tmp/poetry_cache
WORKDIR /app
RUN apt-get update \
&& pip install --no-cache-dir poetry \
&& rm -rf /var/lib/apt/lists/*
COPY pyproject.toml README.md ./
COPY src/ ./src/
RUN poetry install --no-ansi && rm -rf $POETRY_CACHE_DIR
EXPOSE 8010
CMD ["poetry", "run", "uvicorn", "src.naliiabotapi.main:app", "--host", "0.0.0.0", "--port", "8010", "--reload"]