mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Rename docker startup scripts coherently.
This commit is contained in:
parent
d0acf5b8a6
commit
1ab29ec3a4
|
@ -79,12 +79,12 @@ USER root
|
||||||
|
|
||||||
VOLUME ["/var/lib/snipeit"]
|
VOLUME ["/var/lib/snipeit"]
|
||||||
|
|
||||||
# Entrypoints
|
# Startup script
|
||||||
COPY docker/entrypoint_alpine.sh /entrypoint.sh
|
COPY docker/startup_alpine.sh /startup.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /startup.sh
|
||||||
|
|
||||||
ENTRYPOINT ["/sbin/tini", "--"]
|
ENTRYPOINT ["/sbin/tini", "--"]
|
||||||
|
|
||||||
CMD ["/entrypoint.sh"]
|
CMD ["/startup.sh"]
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
|
@ -97,7 +97,7 @@ RUN set -eux; \
|
||||||
VOLUME [ "/var/lib/snipeit" ]
|
VOLUME [ "/var/lib/snipeit" ]
|
||||||
|
|
||||||
COPY --chown=www-data:www-data docker/docker-secrets.env /var/www/html/.env
|
COPY --chown=www-data:www-data docker/docker-secrets.env /var/www/html/.env
|
||||||
COPY --chmod=655 docker/docker-entrypoint.sh /usr/local/bin/docker-snipeit-entrypoint
|
COPY --chmod=655 docker/startup_alpine_fpm.sh /startup.sh
|
||||||
COPY docker/column-statistics.cnf /etc/mysql/conf.d/column-statistics.cnf
|
COPY docker/column-statistics.cnf /etc/mysql/conf.d/column-statistics.cnf
|
||||||
ENTRYPOINT [ "/usr/local/bin/docker-snipeit-entrypoint" ]
|
ENTRYPOINT [ "/startup.sh" ]
|
||||||
CMD [ "/usr/local/bin/docker-php-entrypoint", "php-fpm" ]
|
CMD [ "/startup.sh", "php-fpm" ]
|
||||||
|
|
Loading…
Reference in a new issue