Skip to content

Commit

Permalink
Fixes #6, adds volume support for audio and video files
Browse files Browse the repository at this point in the history
  • Loading branch information
aschmelyun committed Apr 16, 2023
1 parent cef96d6 commit a23c47d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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"]
2 changes: 1 addition & 1 deletion src/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a23c47d

Please sign in to comment.