Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -15
Dockerfile
CHANGED
@@ -1,15 +1 @@
|
|
1 |
-
FROM
|
2 |
-
RUN apt-get update && apt-get install -y autoconf automake curl cmake git libtool make \
|
3 |
-
&& git clone --depth=1 https://github.com/tsl0922/ttyd.git /ttyd \
|
4 |
-
&& cd /ttyd && env BUILD_TARGET=x86_64 ./scripts/cross-build.sh
|
5 |
-
|
6 |
-
FROM alpine
|
7 |
-
COPY --from=0 /ttyd/build/ttyd /usr/bin/ttyd
|
8 |
-
RUN apk add --no-cache bash tini
|
9 |
-
|
10 |
-
EXPOSE 7681
|
11 |
-
EXPOSE 7681/ws
|
12 |
-
WORKDIR /root
|
13 |
-
|
14 |
-
ENTRYPOINT ["/sbin/tini", "--"]
|
15 |
-
CMD ["ttyd", "--writable", "bash"]
|
|
|
1 |
+
FROM besutkode/gotty
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|