13 lines
245 B
Docker
13 lines
245 B
Docker
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"] |