StarrySkyWorld commited on
Commit
870c828
·
verified ·
1 Parent(s): dfcfca6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -3
Dockerfile CHANGED
@@ -2,8 +2,11 @@ FROM ubuntu:22.04
2
 
3
  WORKDIR /app
4
 
5
- RUN apt-get update
 
 
6
 
7
- RUN apt-get install wget curl -y
 
8
 
9
- CMD ["curl","-L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.sh -m 1"]
 
2
 
3
  WORKDIR /app
4
 
5
+ RUN apt-get update \
6
+ && apt-get install -y --no-install-recommends curl ca-certificates \
7
+ && rm -rf /var/lib/apt/lists/*
8
 
9
+ RUN curl -L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o /app/ecs.sh \
10
+ && chmod +x /app/ecs.sh
11
 
12
+ CMD ["/app/ecs.sh", "-m", "1"]