19 lines
323 B
Docker
19 lines
323 B
Docker
FROM python:3.12-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# Copy the entire project
|
|
COPY . .
|
|
|
|
# Install the package and dependencies
|
|
RUN --mount=type=cache,target=/root/.cache pip install --no-cache-dir .
|
|
|
|
# Expose Streamlit port
|
|
EXPOSE 8501
|
|
|
|
# Set environment variables
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
# Run the Streamlit app
|
|
CMD ["auracaster-webui"]
|