mcqt / Dockerfile
Nikhil2904's picture
Upload 15 files
600c297 verified
raw
history blame contribute delete
608 Bytes
# start by pulling the python image
FROM python:3.9-slim
WORKDIR /app
# copy the requirements file into the image
COPY ./requirements.txt /requirements.txt
# switch working directory
WORKDIR /
ENV OPENAI_API_KEY=""
EXPOSE 8501
# install the dependencies and packages in the requirements file
RUN pip3 install -r requirements.txt
# copy every content from the local file to the image
COPY ./ /
# configure the container to run in an executed manner
ENTRYPOINT [ "streamlit", "run" ]
CMD [ "ui.py", "--server.headless", "true", "--server.fileWatcherType", "none", "--browser.gatherUsageStats", "false"]