Skip to content

Instantly share code, notes, and snippets.

@cj2001
Created June 24, 2021 19:07
Show Gist options
  • Save cj2001/4cb8d466484a50ff471b95369e9df0f5 to your computer and use it in GitHub Desktop.
Save cj2001/4cb8d466484a50ff471b95369e9df0f5 to your computer and use it in GitHub Desktop.
Dockerfile for Streamlit + Neo4j example
FROM python:3.9.5-slim-buster
EXPOSE 8501
WORKDIR /app
COPY requirements.txt .
RUN pip install -U pip
RUN pip install --no-cache-dir -r requirements.txt
RUN apt-get update && apt-get install nano
COPY ./src /examples
CMD streamlit run /examples/app.py -- "bolt://54.175.240.235:7687" "neo4j" "tab-deployment-subprogram"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment