File size: 513 Bytes
7ebb610
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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"]