init
This commit is contained in:
13
Dockerfile
Normal file
13
Dockerfile
Normal file
@@ -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"]
|
||||
10
docker-compose.yaml
Normal file
10
docker-compose.yaml
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user