8 lines
196 B
Plaintext
8 lines
196 B
Plaintext
|
|
FROM fedora:41
|
||
|
|
|
||
|
|
RUN dnf install -y socat
|
||
|
|
WORKDIR /service/
|
||
|
|
ADD ./okay /service/okay
|
||
|
|
RUN chmod +x ./okay
|
||
|
|
ENTRYPOINT ["socat", "-d", "TCP-LISTEN:3000,reuseaddr,fork", "EXEC:timeout -k 5 30 ./okay"]
|