Created
December 29, 2020 06:33
-
-
Save mengwangk/17ee92afc95dacbe8141ff97faf597c3 to your computer and use it in GitHub Desktop.
Dockerfile - frontend
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.8-slim | |
RUN mkdir /streamlit | |
COPY requirements.txt /streamlit | |
WORKDIR /streamlit | |
RUN pip install -r requirements.txt | |
COPY . /streamlit | |
EXPOSE 8501 | |
RUN apt-get update -y && apt-get install nodejs npm -y | |
RUN npm i -g nodemon | |
COPY ./start.sh /start.sh | |
RUN chmod +x /start.sh | |
CMD ["/start.sh"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment