xssbook2/build/dbinit/Dockerfile

5 lines
163 B
Docker

FROM alpine:3.19
RUN apk add --no-cache postgresql16-client tini
COPY ./dbinit /usr/local/bin/dbinit
ENTRYPOINT ["/sbin/tini", "--"]
CMD ["/usr/local/bin/dbinit"]