Update Dockerfile
Browse files- Dockerfile +2 -20
Dockerfile
CHANGED
@@ -1,20 +1,2 @@
|
|
1 |
-
FROM
|
2 |
-
|
3 |
-
RUN apt update
|
4 |
-
RUN DEBIAN_FRONTEND=noninteractive apt install -y cmake make gcc g++ git curl sudo dropbear
|
5 |
-
RUN curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
|
6 |
-
RUN apt install -y nodejs
|
7 |
-
RUN npm i -g yarn
|
8 |
-
RUN yarn global add wetty
|
9 |
-
|
10 |
-
RUN echo 'root:root' | chpasswd
|
11 |
-
# Crear usuario con UID 1000
|
12 |
-
RUN useradd -u 1000 xd
|
13 |
-
|
14 |
-
# Establecer contraseña para el usuario
|
15 |
-
RUN echo 'xd:xd' | chpasswd
|
16 |
-
|
17 |
-
|
18 |
-
EXPOSE 7860
|
19 |
-
|
20 |
-
CMD dropbear -s -p 22 /dev/null && wetty -p 7860 --allow-remote-hosts && tail -f /dev/null
|
|
|
1 |
+
FROM ghcr.io/nsarrazin/serge:latest
|
2 |
+
CMD ./deploy.sh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|