Compress schema

That really is a lot of schema, huh
This commit is contained in:
Will Nilges 2022-06-25 22:59:08 -04:00
parent 013b91f2f0
commit 821b0e18d9
3 changed files with 7 additions and 16077 deletions

View file

@ -1,3 +1,9 @@
FROM debian AS builder
RUN apt update; apt install unzip
COPY ./schema.zip .
RUN unzip schema.zip
FROM postgres:12
RUN apt-get update \
@ -6,4 +12,4 @@ RUN apt-get update \
&& cpanm Data::Validate::Domain \
&& apt-get remove -y build-essential
COPY ./schema/large.sql /docker-entrypoint-initdb.d/
COPY --from=builder large.sql /docker-entrypoint-initdb.d/

Binary file not shown.

File diff suppressed because it is too large Load diff