Created
August 5, 2021 18:24
-
-
Save stevenkolawole/81dfb7ff766a4187a32a3a5868e0875d 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
# Grab the Python slim image | |
FROM python:3.8-slim | |
# Install python and pip | |
COPY requirements.txt ./requirements.txt | |
# Install dependencies | |
RUN pip install --no-cache-dir -r requirements.txt | |
# Add our code | |
COPY . /app | |
WORKDIR /app | |
# Run the image | |
CMD streamlit run --server.port $PORT app.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment