rootuc commited on
Commit
b976eee
·
1 Parent(s): dcfe930
Files changed (2) hide show
  1. Dockerfile +2 -2
  2. setup.sh +1 -1
Dockerfile CHANGED
@@ -3,6 +3,6 @@ FROM ubuntu
3
 
4
  ADD setup.sh /
5
 
6
- RUN bash /setup.sh
7
 
8
- CMD ["nginx"]
 
3
 
4
  ADD setup.sh /
5
 
6
+ # RUN bash /setup.sh
7
 
8
+ CMD ["bash", "/setup.sh"]
setup.sh CHANGED
@@ -14,7 +14,7 @@ fi
14
  # Install dependencies
15
  echo "[1/8] Installing dependencies..."
16
  apt-get update
17
- apt-get install -y software-properties-common curl git postgresql nginx kmod
18
 
19
  # Add PHP repository and install PHP 8.2
20
  echo "[2/8] Installing PHP 8.2..."
 
14
  # Install dependencies
15
  echo "[1/8] Installing dependencies..."
16
  apt-get update
17
+ apt-get install -y software-properties-common curl git postgresql nginx kmod sudo
18
 
19
  # Add PHP repository and install PHP 8.2
20
  echo "[2/8] Installing PHP 8.2..."