Skip to content

Commit

Permalink
create dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
lgabs committed Oct 27, 2024
1 parent 925f43b commit c6451f3
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM python:3.10-slim

WORKDIR /app

COPY requirements.txt .

RUN pip install --no-cache-dir -r requirements.txt

COPY . .

EXPOSE 8501

ENV PYTHONPATH=/app
ENV STREAMLIT_SERVER_PORT=8501
ENV STREAMLIT_SERVER_ADDRESS=0.0.0.0

CMD ["streamlit", "run", "Homepage.py"]

0 comments on commit c6451f3

Please sign in to comment.