-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.arm64
25 lines (17 loc) · 854 Bytes
/
Dockerfile.arm64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM fireflyiii/tools-base-image:latest-arm64
# To learn more about this base image, visit https://github.com/firefly-iii/tools-base-image
ARG RELEASE=develop
ENV HOMEPATH=/var/www/html COMPOSER_ALLOW_SUPERUSER=1
LABEL version="1.0" maintainer="thegrumpydictator@gmail.com"
COPY scripts/site.conf /etc/apache2/sites-available/000-default.conf
# install Firefly III CSV Importer and patch configuration
WORKDIR $HOMEPATH
RUN curl -SL https://github.com/firefly-iii/csv-importer/archive/$RELEASE.tar.gz | tar xzC $HOMEPATH --strip-components 1 && chown -R www-data:www-data $HOMEPATH && \
chmod -R 775 $HOMEPATH/storage && \
composer install --prefer-dist --no-dev --no-scripts --no-suggest
# Expose port 80
EXPOSE 80
ADD scripts/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
# Run entrypoint thing
ENTRYPOINT ["/entrypoint.sh"]