FROM ubuntu:latest
|
|
|
|
RUN apt update && \
|
|
apt install socat -y
|
|
|
|
WORKDIR /app
|
|
|
|
COPY ./flag.txt .
|
|
COPY ./spell-warz-again .
|
|
|
|
CMD socat tcp-listen:12345,reuseaddr,fork EXEC:\"./spell-warz\"
|
|
|
|
EXPOSE 12345/tcp
|