2022-09-03 13:37:44 +00:00
|
|
|
FROM postgres:14.5-alpine
|
2021-07-15 19:21:22 +00:00
|
|
|
|
|
|
|
WORKDIR /var/lib/postgresql
|
|
|
|
|
|
|
|
COPY . .
|
|
|
|
|
2021-07-23 15:39:23 +00:00
|
|
|
RUN apk add openssl --no-cache
|
2021-07-15 19:21:22 +00:00
|
|
|
|
|
|
|
RUN chmod +x self-signed-ssl
|
|
|
|
RUN ./self-signed-ssl
|
|
|
|
|
|
|
|
RUN chown postgres /var/lib/postgresql/server.key && \
|
|
|
|
chmod 600 /var/lib/postgresql/server.key
|