Dockerlinux / Dockerfile
NicheBean's picture
Create Dockerfile
7ebb610 verified
Raw History Blame Contribute Delete
513 Bytes
# 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"]