Update Dockerfile
Browse files- 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}
|