Files
Ballet-Production-Suite/frontend/Dockerfile

18 lines
292 B
Docker

FROM python:3.11-slim
WORKDIR /app
# NiceGUI might need some dependencies
RUN apt-get update && apt-get install -y \
procps \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8080
CMD ["python", "app.py"]