backend/compose/production/postgres/Dockerfile

7 lines
227 B
Docker
Raw Permalink Normal View History

2022-10-25 23:29:13 +03:00
FROM postgres:14
COPY ./compose/production/postgres/maintenance /usr/local/bin/maintenance
RUN chmod +x /usr/local/bin/maintenance/*
RUN mv /usr/local/bin/maintenance/* /usr/local/bin \
&& rmdir /usr/local/bin/maintenance