OptionScreener / Dockerfile
AlirezaX2's picture
Update Dockerfile
9e73697
raw
history blame contribute delete
442 Bytes
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