Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -97,6 +97,8 @@ RUN --mount=target=requirements.txt,source=requirements.txt \
|
|
| 97 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 98 |
COPY --chown=user . $HOME/app
|
| 99 |
|
|
|
|
|
|
|
| 100 |
RUN chmod +x start_server.sh
|
| 101 |
|
| 102 |
COPY --chown=user login.html /home/user/miniconda/lib/python3.9/site-packages/jupyter_server/templates/login.html
|
|
@@ -108,5 +110,5 @@ ENV PYTHONUNBUFFERED=1 \
|
|
| 108 |
GRADIO_THEME=huggingface \
|
| 109 |
SYSTEM=spaces \
|
| 110 |
SHELL=/bin/bash
|
| 111 |
-
|
| 112 |
CMD ["./start_server.sh"]
|
|
|
|
| 97 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 98 |
COPY --chown=user . $HOME/app
|
| 99 |
|
| 100 |
+
EXPOSE 3000 22 7860 8000 8001 8002 8006 35424
|
| 101 |
+
|
| 102 |
RUN chmod +x start_server.sh
|
| 103 |
|
| 104 |
COPY --chown=user login.html /home/user/miniconda/lib/python3.9/site-packages/jupyter_server/templates/login.html
|
|
|
|
| 110 |
GRADIO_THEME=huggingface \
|
| 111 |
SYSTEM=spaces \
|
| 112 |
SHELL=/bin/bash
|
| 113 |
+
|
| 114 |
CMD ["./start_server.sh"]
|