Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ FROM php:8.4.8-apache-bookworm
# The koel version to download
ARG KOEL_VERSION_REF=v7.14.0

# Install vim for easier editing/debugging
RUN apt-get update && apt-get install -y vim

# Download the koel release matching the version and remove anything not necessary for production
RUN curl -L https://github.com/koel/koel/releases/download/${KOEL_VERSION_REF}/koel-${KOEL_VERSION_REF}.tar.gz | tar -xz -C /tmp \
&& cd /tmp/koel/ \
Expand Down Expand Up @@ -47,6 +44,8 @@ RUN apt-get update \
libpq-dev \
libwebp-dev \
libavif-dev \
# to have a simple editor
nano \
&& docker-php-ext-configure gd --with-jpeg --with-webp --with-avif \
# https://laravel.com/docs/8.x/deployment#server-requirements
# ctype, fileinfo, json, mbstring, openssl, tokenizer and xml are already activated in the base image
Expand All @@ -60,6 +59,7 @@ RUN apt-get update \
pgsql \
zip \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
Comment thread
phanan marked this conversation as resolved.
# Create the music volume so it has the correct permissions
&& mkdir /music \
&& chown www-data:www-data /music \
Expand Down