cfoo commited on
Update Dockerfile
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
|
@@ -48,6 +48,7 @@ RUN tar -xzf /home/user/Desktop/myshell/chromeset.tar.gz -C /tmp/
|
|
| 48 |
RUN mv /usr/bin/vncserver /usr/bin/myncserver
|
| 49 |
RUN mv /usr/bin/Xvfb /usr/bin/myvfb
|
| 50 |
ENV DISPLAY=:99
|
|
|
|
| 51 |
# 下载并安装 gotty
|
| 52 |
RUN curl -L https://github.com/yudai/gotty/releases/download/v1.0.1/gotty_linux_amd64.tar.gz | tar xz -C /usr/local/bin
|
| 53 |
RUN mv /usr/local/bin/gotty /usr/local/bin/mytty
|
|
|
|
| 48 |
RUN mv /usr/bin/vncserver /usr/bin/myncserver
|
| 49 |
RUN mv /usr/bin/Xvfb /usr/bin/myvfb
|
| 50 |
ENV DISPLAY=:99
|
| 51 |
+
EXPOSE 7860
|
| 52 |
# 下载并安装 gotty
|
| 53 |
RUN curl -L https://github.com/yudai/gotty/releases/download/v1.0.1/gotty_linux_amd64.tar.gz | tar xz -C /usr/local/bin
|
| 54 |
RUN mv /usr/local/bin/gotty /usr/local/bin/mytty
|