Spaces:
Runtime error
Runtime error
| # Use a base Python image | |
| FROM python:3.9 | |
| # Set the working directory | |
| WORKDIR /app | |
| # Copy requirements and install them | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy your notebook into the app directory | |
| COPY Curve_Optimisation_GUI.ipynb . | |
| # Expose the port Voila will run on | |
| EXPOSE 8866 | |
| # Command to run Voila when the container starts | |
| CMD ["voila", "Curve_Optimisation_GUI.ipynb", "--no-browser", "--port=8866", "--server_url=0.0.0.0"] |