2024-08-05 10:31:49 -03:00
|
|
|
FROM docker.io/library/python:3-slim as catatonit
|
|
|
|
|
|
|
|
RUN apt update \
|
|
|
|
&& apt -y install catatonit
|
|
|
|
|
|
|
|
FROM docker.io/library/python:3-slim
|
|
|
|
|
|
|
|
COPY --from=catatonit /usr/libexec/podman/catatonit /catatonit
|
|
|
|
ADD https://raw.githubusercontent.com/simon-budig/woof/woof-20220202/woof /usr/bin/woof
|
|
|
|
RUN mkdir /data
|
|
|
|
|
|
|
|
WORKDIR /data
|
|
|
|
EXPOSE 8008
|
|
|
|
|
|
|
|
ENTRYPOINT ["/catatonit", "--"]
|
2024-08-05 11:01:56 -03:00
|
|
|
CMD ["/usr/local/bin/python3", "/usr/bin/woof", "-i", "0.0.0.0", "-p", "8008", "-c", "1", "-U"]
|