File size: 591 Bytes
a37cebd 79d2a14 a37cebd 79d2a14 c59a109 2fe3b43 b97c873 2fe3b43 c59a109 d0aaf42 a37cebd d0aaf42 c59a109 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# Install prerequisites
RUN apt-get update && apt-get install -y \
curl \
iproute2 \
ca-certificates \
gnupg \
lsb-release \
&& rm -rf /var/lib/apt/lists/*
# Download the installer but don't run it yet
RUN curl -sSL https://dokploy.com/install.sh -o /install-dokploy.sh && \
chmod +x /install-dokploy.sh
EXPOSE 3000
# Command that will start Docker and then run the installer
CMD ["bash", "-c", "dockerd & while ! docker info >/dev/null 2>&1; do sleep 1; done && /install-dokploy.sh && tail -f /dev/null"] |