Skip to content

Instantly share code, notes, and snippets.

@marvinhoxha
Last active August 25, 2022 10:06
Show Gist options
  • Save marvinhoxha/dbd65efb908955f2af78dc0f5bdef488 to your computer and use it in GitHub Desktop.
Save marvinhoxha/dbd65efb908955f2af78dc0f5bdef488 to your computer and use it in GitHub Desktop.
FROM python:3.8
EXPOSE 8502
WORKDIR /app
ARG CONFIG
ENV CONFIG ${CONFIG}
ARG ENV
ENV ENV ${ENV}
COPY requirements-streamlit.txt requirements.txt
RUN pip3 install -r requirements.txt
COPY app.py app.py
RUN mkdir -p /app/savedimage
RUN mkdir -p /app/savedimage/dog
CMD streamlit run app.py --server.port 8502
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment