Compare commits

...

2 Commits

Author SHA1 Message Date
7f0f7aa552 Merge pull request 'Change how the version is used' (#5) from change-version into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
Reviewed-on: #5
2024-04-25 05:46:40 +00:00
d97b003863 Change how the version is used
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-04-24 22:46:04 -07:00

View File

@ -1,6 +1,6 @@
FROM php:apache FROM php:apache
ARG FLARUM_VERSION=1.8.5 ARG FLARUM_VERSION
WORKDIR /flarum/app WORKDIR /flarum/app
ENV APACHE_DOCUMENT_ROOT /flarum/app/public ENV APACHE_DOCUMENT_ROOT /flarum/app/public
@ -24,7 +24,8 @@ RUN apt-get update \
COPY docker/make_config.php /flarum/make_config.php COPY docker/make_config.php /flarum/make_config.php
COPY docker/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh COPY docker/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
RUN chmod a+x /usr/local/bin/docker-entrypoint.sh RUN chmod a+x /usr/local/bin/docker-entrypoint.sh
RUN composer create-project flarum/flarum /flarum/app "$FLARUM_VERSION" RUN composer create-project flarum/flarum /flarum/app
RUN echo "$FLARUM_VERSION" > /flarum/version.txt
RUN chown -R www-data:www-data /flarum RUN chown -R www-data:www-data /flarum
VOLUME /flarum/app/extensions /flarum/app/public/assets /flarum/app/storage/logs VOLUME /flarum/app/extensions /flarum/app/public/assets /flarum/app/storage/logs