NicheBean commited on
Commit
d5e7e66
·
verified ·
1 Parent(s): e41764a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -9,9 +9,8 @@ RUN apt-get update && apt-get install -y \
9
  ca-certificates \
10
  sudo \
11
  git \
12
- webtop \
13
  apache2-utils && \
14
- apt-get clean # Clean up to remove unnecessary cache files
15
 
16
  # Expose the necessary ports for Webtop
17
  EXPOSE 8080
@@ -23,7 +22,7 @@ ENV WEBTOP_PASSWORD=secretpassword
23
  # Create a .htpasswd file with basic authentication credentials
24
  RUN htpasswd -cb /etc/apache2/.htpasswd $WEBTOP_USERNAME $WEBTOP_PASSWORD
25
 
26
- # Install Webtop
27
  RUN curl -fsSL https://webtop.dev/install.sh | sh
28
 
29
  # Start Webtop with authentication
 
9
  ca-certificates \
10
  sudo \
11
  git \
 
12
  apache2-utils && \
13
+ apt-get clean # Clean up unnecessary cache files
14
 
15
  # Expose the necessary ports for Webtop
16
  EXPOSE 8080
 
22
  # Create a .htpasswd file with basic authentication credentials
23
  RUN htpasswd -cb /etc/apache2/.htpasswd $WEBTOP_USERNAME $WEBTOP_PASSWORD
24
 
25
+ # Install Webtop using the script
26
  RUN curl -fsSL https://webtop.dev/install.sh | sh
27
 
28
  # Start Webtop with authentication