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