Created
November 18, 2023 08:01
-
-
Save masafumimori/e950058a01cbd0894652498bab47d9a4 to your computer and use it in GitHub Desktop.
basic dockerfile for python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# FROM: https://github.com/amjadraza/pandasai-chainlit-docker-deployment-template/blob/main/Dockerfile | |
# The builder image, used to build the virtual environment | |
FROM python:3.10 | |
WORKDIR /app | |
RUN apt-get update && apt-get install -y git | |
RUN pip install --upgrade pip | |
# ENV PYTHONPATH="/projects/ps-chat:$PYTHONPATH" | |
ENV HOST=0.0.0.0 | |
EXPOSE 8000 | |
COPY ./ ./ | |
COPY requirements.txt requirements.txt | |
RUN pip install -r requirements.txt | |
# Run tail -f /dev/null when the container launches | |
CMD ["tail", "-f", "/dev/null"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment