mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-25 11:04:04 +03:00
c7eded8644
Prepending docker.io/ to image names allows projects to be run in alternate runtimes such as podman-compose without additional configuration.
7 lines
272 B
Docker
7 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
|