sqrl-test/Dockerfile

12 lines
340 B
Docker
Raw Normal View History

2023-02-04 09:17:53 +00:00
FROM registry.dege.au/leenooks/php:8.1-fpm-alpine
COPY . /var/www/html/
2023-02-05 02:11:52 +00:00
RUN mkdir /var/cache/composer && \
([ -r auth.json ] && mv auth.json /var/cache/composer/) || true && \
2023-02-04 09:17:53 +00:00
touch .composer.refresh && \
mv .env.example .env && \
FORCE_PERMS=1 /sbin/init && \
2023-02-05 02:11:52 +00:00
rm -rf /var/cache/composer/* && \
2023-02-04 09:17:53 +00:00
touch .migrate && chmod g+w database