v0.1 - Merry Christmas!
This commit is contained in:
19
docker/Dockerfile
Normal file
19
docker/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user