Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- 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
|
| 29 |
-
CMD webtop start
|
|
|
|
| 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
|