xssbook2/build/postgrest/Dockerfile

9 lines
270 B
Docker

FROM alpine:3.19
COPY ./postgrest.tar.xz /tmp/postgrest.tar.xz
RUN tar xJf /tmp/postgrest.tar.xz -C /tmp
RUN mv /tmp/postgrest /usr/local/bin/postgrest
RUN rm /tmp/postgrest.tar.xz
COPY ./entrypoint.sh /usr/local/bin/entrypoint.sh
CMD ["/usr/local/bin/entrypoint.sh"]