(ui) dockerfile

This commit is contained in:
ishaan-jaff 2024-01-25 21:05:48 -08:00
parent fa1bbbebf1
commit 9e77a541d5

View file

@ -1,5 +1,7 @@
# Use official Python base image
FROM python:3.9
FROM python:3.9.12
EXPOSE 8501
# Set the working directory in the container
WORKDIR /app
@ -11,7 +13,8 @@ COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy the entire project directory to the container
COPY . .
COPY admin.py .
# Set the entrypoint command to run admin.py with Streamlit
ENTRYPOINT ["streamlit", "run", "admin.py"]
ENTRYPOINT [ "streamlit", "run"]
CMD ["admin.py"]