Spaces:
Runtime error
Runtime error
File size: 442 Bytes
3d7e6b7 298bd33 3d7e6b7 298bd33 3d7e6b7 298bd33 3d7e6b7 11bf49a 9e73697 deb1d66 298bd33 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | FROM python:3.10.0-alpine
WORKDIR /app
COPY ./requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
COPY . .
EXPOSE 8000
RUN /usr/bin/crontab /app/crontab
# CMD ["sh","/app/entrypoint.sh"]
CMD ["panel", "serve", "/app/main.py", "--address", "0.0.0.0", "--port", "8000", "--allow-websocket-origin", "*"]
RUN mkdir /.cache
RUN chmod 777 /.cache
RUN mkdir .chroma
RUN chmod 777 .chroma |