lucy1118 commited on
Commit
2998665
1 Parent(s): 273c6d2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -1,4 +1,5 @@
1
  From ghcr.io/gordonchanfz/storytelling:latest
2
  WORKDIR /app
 
3
  EXPOSE 7860
4
- CMD python3 src/server.py
 
1
  From ghcr.io/gordonchanfz/storytelling:latest
2
  WORKDIR /app
3
+ ENV FAST_API_PORT=7860
4
  EXPOSE 7860
5
+ CMD python3 src/server.py --port ${FAST_API_PORT}