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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -9
Dockerfile CHANGED
@@ -15,15 +15,8 @@ RUN apt-get update && apt-get install -y \
15
  # Expose the necessary ports for Webtop
16
  EXPOSE 8080
17
 
18
- # Set environment variables for authentication
19
- ENV WEBTOP_USERNAME=admin
20
- ENV WEBTOP_PASSWORD=secretpassword
21
-
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
29
- CMD webtop start --auth /etc/apache2/.htpasswd
 
15
  # Expose the necessary ports for Webtop
16
  EXPOSE 8080
17
 
 
 
 
 
 
 
 
18
  # Install Webtop using the script
19
  RUN curl -fsSL https://webtop.dev/install.sh | sh
20
 
21
+ # Start Webtop without authentication
22
+ CMD webtop start