diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a98c564 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,22 @@ +FROM alpine:3.22.0 + +LABEL maintainer="Phil " +LABEL version="0.1" +LABEL description="Docker image for TFTP server using dnsmasq" + + +WORKDIR / + +RUN apk add --no-cache \ + bash \ + dnsmasq + +EXPOSE 69/udp + +COPY start.sh init.sh / + +RUN chmod +x start.sh init.sh + +VOLUME ["/tftp"] + +ENTRYPOINT ["./start.sh"] \ No newline at end of file