# Use the official Ubuntu image as a base FROM ubuntu:latest # Set environment variables ENV DEBIAN_FRONTEND=noninteractive # Install necessary dependencies RUN apt-get update && apt-get install -y \ curl \ gnupg \ lsb-release \ ca-certificates \ sudo \ git \ apache2-utils && \ apt-get clean # Expose port for Webtop EXPOSE 8080 # Install Webtop using its installation script RUN curl -fsSL https://webtop.dev/install.sh | sh # Command to start Webtop CMD ["webtop", "start"]