Version 0.2 finally first commit

This commit is contained in:
Doc
2025-10-01 20:27:37 -04:00
commit 71e933be72
22 changed files with 1509 additions and 0 deletions

24
Dockerfile Normal file
View File

@@ -0,0 +1,24 @@
# Dockerfile
FROM python:3.10-slim
# Set working directory
WORKDIR /app
# Copy requirements file and install dependencies
# COPY requirements.txt .
RUN pip install --no-cache-dir hatch
# Copy the entire project to the working directory
COPY ./src /app/src
COPY ./README.md /app/README.md
COPY ./LICENSE /app/LICENSE
COPY ./pyproject.toml /app/pyproject.toml
COPY ./scripts /app/scripts
#COPY ./tests /app/tests
COPY ./docs /app/docs
# Expose the port the app runs on (adjust based on your app's settings)
EXPOSE 5232
# Command to run the app
CMD ["hatch","run","subdomain_server","--port","5232","--config-path","/app/config/config.yaml","--debug"]