commit 4facc0d39c3f93d2c36c650ffb518f130cee54a6 Author: Timo Date: Sat Feb 7 16:14:03 2026 +0100 init diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..89d0141 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM alpine:3.23.3 AS dependencies + +RUN apk add --no-cache \ + tftp-hpa + + +FROM dependencies AS tftp-server + +WORKDIR /tftp +EXPOSE 69/udp + +# Start TFTP server +CMD ["in.tftpd", "--foreground", "--verbose", "--secure", "--address", ":69", "/tftp"] \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..1b936e7 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,10 @@ +version: "3.9" + +services: + tftp: + image: hub.anxietyprime.de/tools/tftp-server:latest + container_name: tftp + network_mode: host + volumes: + - ./path/to/folder/:/tftp + restart: always \ No newline at end of file