portfolio_management / Dockerfile
huggingface112's picture
add notification to editing page
61dcaa7
raw
history blame
511 Bytes
FROM python:3.11
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 . /code
# Expose the port your Panel app will run on
EXPOSE 7860
# Set up a directory for the persistent volume
VOLUME /code/instance
# Start the Panel app
CMD ["panel", "serve", "portfolioEditingPage.py", "--address", "0.0.0.0", "--port", "80", "--allow-websocket-origin", "localhost"]