build_todo_app / Dockerfile
MarcSkovMadsen's picture
Update Dockerfile
771bb92 verified
raw
history blame
359 Bytes
FROM python:3.11
WORKDIR /code
RUN python3 -m pip install --no-cache-dir --upgrade pip
RUN python3 -m pip install --no-cache-dir --upgrade -r requirements.txt
COPY . .
CMD ["panel", "serve", "app.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "*", "--num-procs", "2", "--index", "app"]
RUN mkdir /.cache
RUN chmod 777 /.cache