0.4.9-c
All checks were successful
Deploy on push / deploy (push) Successful in 7s

This commit is contained in:
2025-02-10 18:04:08 +03:00
parent 20173f7d1c
commit a84d8a0c7e
11 changed files with 216 additions and 196 deletions

View File

@@ -1,25 +0,0 @@
FROM python:3.12-alpine
# Update package lists and install necessary dependencies
RUN apk update && \
apk add --no-cache build-base icu-data-full curl python3-dev musl-dev && \
curl -sSL https://install.python-poetry.org | python
# Set working directory
WORKDIR /app
# Copy only the pyproject.toml file initially
COPY pyproject.toml /app/
# Install poetry and dependencies
RUN pip install poetry && \
poetry config virtualenvs.create false && \
poetry install --no-root --only main
# Copy the rest of the files
COPY . /app
# Expose the port
EXPOSE 8000
CMD ["python", "server.py"]