Dokku deployment recipe

This commit is contained in:
2020-05-20 14:07:58 +02:00
parent 523ce77a84
commit a6ffc639a1
5 changed files with 71 additions and 1 deletions

View File

@ -8,9 +8,12 @@ RUN chmod a+x /usr/local/bin/docker-entrypoint
COPY first-run.sh /usr/local/bin/docker-first-run
RUN chmod a+x /usr/local/bin/docker-first-run
VOLUME /home/ory/.container-lifecycle
RUN mkdir -p /home/ory && chown -R ory: /home/ory
USER ory
ENTRYPOINT ["/usr/local/bin/docker-entrypoint"]
CMD ["hydra", "serve", "all"]