Spaces:
Runtime error
Runtime error
gamingflexer
commited on
Commit
·
f8da96c
1
Parent(s):
9ab0e86
env added for docker
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -22,4 +22,8 @@ WORKDIR $HOME/app
|
|
22 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
23 |
COPY --chown=user . $HOME/app
|
24 |
|
|
|
|
|
|
|
|
|
25 |
CMD ["python", "src/app.py"]
|
|
|
22 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
23 |
COPY --chown=user . $HOME/app
|
24 |
|
25 |
+
ENV GRADIO_SERVER_NAME=0.0.0.0
|
26 |
+
|
27 |
+
EXPOSE 7860
|
28 |
+
|
29 |
CMD ["python", "src/app.py"]
|