Skip to content

Commit

Permalink
add port
Browse files Browse the repository at this point in the history
  • Loading branch information
lfunderburk committed Dec 2, 2023
1 parent 04a14f7 commit 974f207
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mini-projects/end-to-end/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ FROM python:3.11
# Copy all files
COPY app.ipynb app.ipynb
COPY weather.csv weather.csv
COPY .env .env

# install dependencies
RUN pip install voila==0.5.1 pandas==2.0.3 plotly python-dotenv requests

# this configuration is needed for your app to work, do not change it
RUN ["voila", "app.ipynb"]
ENTRYPOINT ["voila", "app.ipynb","--port 5000:80"]

0 comments on commit 974f207

Please sign in to comment.