📦 EqualifyEverything / database

📄 Dockerfile · 19 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM postgres:15


# Set env vars for default user
ENV POSTGRES_DB a11ydata
ENV POSTGRES_USER a11ydata
ENV POSTGRES_PASSWORD a11yAllTheThings!
ENV POSTGRES_PORT 5432


# Copy the dump file to the container and restore the schema and functions
COPY baby_a11yphant.sql /docker-entrypoint-initdb.d/

# Copy startup data over
COPY start_urls.csv /docker-entrypoint-initdb.d/
COPY start_domains.csv /docker-entrypoint-initdb.d/