axebps commited on
Commit
77cd152
·
verified ·
1 Parent(s): 79bdb80

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -6
Dockerfile CHANGED
@@ -1,10 +1,9 @@
1
  FROM ubuntu
2
 
 
 
3
  RUN apt-get update && \
4
- apt-get install -y --no-install-recommends wget ca-certificates && \
5
- wget -O redlib.tar.gz "https://github.com/redlib-org/redlib/releases/download/v0.35.1/redlib-x86_64-unknown-linux-musl.tar.gz" && \
6
- tar -zxf redlib.tar.gz && \
7
- mv redlib /usr/local/bin/ && \
8
- rm redlib.tar.gz
9
 
10
- CMD ["redlib", "-p", "7860"]
 
1
  FROM ubuntu
2
 
3
+ COPY . .
4
+
5
  RUN apt-get update && \
6
+ apt-get install -y --no-install-recommends curl tar wget ca-certificates && \
7
+ chmod +x /entrypoint.sh
 
 
 
8
 
9
+ CMD ["/entrypoint.sh"]