From a23c47df0fa1c672cd4f61c77badb3f159357503 Mon Sep 17 00:00:00 2001 From: Andrew Schmelyun Date: Sun, 16 Apr 2023 15:22:20 -0400 Subject: [PATCH] Fixes #6, adds volume support for audio and video files --- Dockerfile | 6 ++++-- src/.env.example | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index e5b5231..2444a37 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,13 +4,13 @@ RUN touch /usr/local/etc/php/php.ini RUN apk add --no-cache ffmpeg -ADD ./src /var/www/html +ADD ./src /var/www ADD ./startup.sh /srv/startup.sh RUN chmod +x /srv/startup.sh -WORKDIR /var/www/html +WORKDIR /var/www COPY --from=composer /usr/bin/composer /usr/bin/composer @@ -33,4 +33,6 @@ RUN mkdir -p storage/app/video RUN chmod -R 777 storage +VOLUME ["/var/www/storage/app/audio", "/var/www/storage/app/video"] + CMD ["/srv/startup.sh"] \ No newline at end of file diff --git a/src/.env.example b/src/.env.example index d6190f7..34772c8 100644 --- a/src/.env.example +++ b/src/.env.example @@ -3,7 +3,7 @@ APP_ENV=local APP_KEY= APP_DEBUG=true APP_URL=http://localhost -APP_VERSION=1.0.8 +APP_VERSION=1.0.9 LOG_CHANNEL=stack LOG_DEPRECATIONS_CHANNEL=null