FROM alpine
RUN apk update
RUN apk add --no-cache \
socat
WORKDIR /app
COPY ./flag.txt .
COPY ./spell-warz .
CMD socat tcp-listen:12345,reuseaddr,fork EXEC:\"./spell-warz\"
EXPOSE 12345/tcp