static / Dockerfile
Clone04's picture
Update Dockerfile
8de7fd2 verified
raw
history blame contribute delete
No virus
283 Bytes
# Stage 1: Build stage
FROM ubuntu AS builder
RUN apt-get update \
&& apt-get install -y net-tools iputils-ping iproute2
COPY start.sh /
RUN chmod +x /start.sh
# Stage 2: Runtime stage
FROM ubuntu
COPY --from=builder /start.sh /
RUN chmod +x /start.sh
ENTRYPOINT ["/start.sh"]