v0.1 - Merry Christmas!

This commit is contained in:
2024-12-25 09:30:53 -05:00
commit 1965706667
29 changed files with 2068 additions and 0 deletions

19
docker/Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
FROM python:3.12-slim
WORKDIR /app
RUN useradd -ms /bin/bash appuser && mkdir -p /app/output && chown -R appuser:appuser /app
USER appuser
# Install dependencies
COPY ../requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Expose the FastAPI port
EXPOSE 8000
COPY ../comfykiosk/ ./comfykiosk/
COPY ../sample.py ../sample-advanced.py ../workflow.json ./
COPY ../sample-workflows ./sample-workflows
CMD ["python", "/app/sample.py"]