make-quant-py/Dockerfile
Ayuriel b8453f1825
Some checks failed
Docker Build and Deploy / build-and-push (push) Successful in 2m44s
Docker Build and Deploy / deploy (push) Failing after 6s
chore: .env 파일 복사
2025-03-31 17:57:04 +09:00

24 lines
495 B
Docker

FROM python:3.12-slim
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy source code
COPY .env /app/
COPY src/ /app/src/
COPY README.md /app/
# Make sure credentials directory exists
RUN mkdir -p /app/src/config
# Set environment variables
ENV PYTHONPATH=/app
# Expose port for Streamlit
EXPOSE 8501
# Command to run the application
CMD ["streamlit", "run", "src/app.py", "--server.port=8501", "--server.address=0.0.0.0"]