mirror of
https://github.com/Hopiu/cookiecutter-django.git
synced 2026-05-09 05:04:54 +00:00
Prepending docker.io/ to image names allows projects to be run in alternate runtimes such as podman-compose without additional configuration.
6 lines
272 B
Docker
6 lines
272 B
Docker
FROM docker.io/postgres:{{ cookiecutter.postgresql_version }}
|
|
|
|
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
|