Initial commit
This commit is contained in:
commit
a93ee1f0c8
1 changed files with 11 additions and 0 deletions
11
Dockerfile
Normal file
11
Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
FROM devuan/devuan:stable
|
||||||
|
RUN apt update
|
||||||
|
RUN apt install -y curl
|
||||||
|
RUN curl -fsSL https://downloads.svrjs.org/installer/svr.js.installer.linux.20240506.sh > /tmp/installer.sh
|
||||||
|
RUN echo "#!/bin/bash" > /tmp/confirm.sh; echo "echo 0" >> /tmp/confirm.sh; echo "yes" >> /tmp/confirm.sh
|
||||||
|
RUN chmod +x /tmp/confirm.sh
|
||||||
|
RUN /tmp/confirm.sh | bash /tmp/installer.sh
|
||||||
|
RUN rm /tmp/*
|
||||||
|
RUN apt clean
|
||||||
|
EXPOSE 80
|
||||||
|
CMD ["svrjs"]
|
Loading…
Reference in a new issue