Spaces:
Sleeping
Sleeping
File size: 712 Bytes
88a0904 68f4304 88a0904 68f4304 88a0904 68f4304 88a0904 68f4304 88a0904 68f4304 ec926d8 de2aed7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# Use the official Python image as a parent image
# Use the official Python image as a parent image
FROM python:3.11
# Set the working directory in the container
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN python3 -m pip install --no-cache-dir --upgrade pip
RUN python3 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . .
# Run app.py when the container launches
# CMD ["bokeh", "serve", "--show", "dashboard/app.py", "address", ]
CMD ["panel", "serve", "/code/dashboard/app.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "emanalytics-dashboard.hf.space"]
RUN mkdir /.cache
RUN chmod 777 /.cache
RUN mkdir .chroma
RUN chmod 777 .chroma |