Created
May 8, 2020 02:41
-
-
Save pycaret/1ba72057c21df43ad78fa5086d06143f to your computer and use it in GitHub Desktop.
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 python:3.7 | |
RUN pip install virtualenv | |
ENV VIRTUAL_ENV=/venv | |
RUN virtualenv venv -p python3 | |
ENV PATH="VIRTUAL_ENV/bin:$PATH" | |
WORKDIR /app | |
ADD . /app | |
# Install dependencies | |
RUN pip install -r requirements.txt | |
# Expose port | |
EXPOSE 5000 | |
# Run the application: | |
CMD ["python", "app.py"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment