Skip to content

Commit 1c53a90

Browse files
committed
Finalized the dockerfile
1 parent 89601e1 commit 1c53a90

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
data/
21
Archives/
32
README.md
43
requirements.txt

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ RUN apt-get update && apt-get install -y curl build-essential && apt-get clean
1515
RUN curl -sSL https://install.python-poetry.org | python3 - && \
1616
ln -s /root/.local/bin/poetry /usr/local/bin/poetry
1717

18-
# Copy project files
18+
# Copy project files including data folder
1919
COPY . .
2020

21-
# Disable virtualenvs (install dependencies directly)
21+
# Disable virtualenvs and install dependencies
2222
RUN poetry config virtualenvs.create false \
2323
&& poetry install --no-root
2424

2525
# Expose Streamlit port
26-
EXPOSE 8500
26+
EXPOSE 8501
2727

2828
# Run the Streamlit app
29-
CMD ["streamlit", "run", "app.py", "--server.port=8500", "--server.address=0.0.0.0"]
29+
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]

0 commit comments

Comments
 (0)