aladin / Dockerfile
MarcSkovMadsen's picture
glob
2ff4bf3
raw
history blame contribute delete
409 Bytes
FROM ghcr.io/astral-sh/uv:python3.11-bookworm-slim
WORKDIR /code
RUN mkdir /.cache
RUN chmod 777 /.cache
COPY ./requirements.txt /code/requirements.txt
RUN uv pip install -r /code/requirements.txt --system
COPY . .
ENTRYPOINT []
CMD ["panel", "serve", "/code/examples/*.py", "--glob", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "*", "--static-dirs", "thumbnails=./thumbnails"]