mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 04:58:01 +01:00
Fix docker build
This commit is contained in:
parent
eb02ff48c2
commit
d1cb2e69cf
1 changed files with 7 additions and 2 deletions
|
@ -40,13 +40,18 @@ COPY --from=composer /usr/bin/composer /usr/bin/composer
|
|||
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/install-php-extensions
|
||||
COPY --from=atomicparsley_builder /tmp/atomicparsley/AtomicParsley /usr/local/bin/AtomicParsley
|
||||
|
||||
RUN apk update
|
||||
|
||||
## Common libraries required for ffmpeg & atomicparsley` to work
|
||||
RUN apk add --no-cache libgcc libstdc++ ca-certificates libcrypto1.1 libssl1.1 libgomp expat git
|
||||
RUN apk add --no-cache nginx sudo imagemagick
|
||||
RUN apk add libgcc libstdc++ ca-certificates libcrypto1.1 libssl1.1 libgomp expat git
|
||||
RUN apk add nginx sudo
|
||||
|
||||
# Install php extensions
|
||||
RUN install-php-extensions mysqli pgsql pdo_mysql pdo_pgsql gmp gmagick redis
|
||||
|
||||
# not sure why but this needs to be after the php extensions otherwise some kind of dependency issue occurs
|
||||
RUN apk add imagemagick
|
||||
|
||||
RUN mkdir /app && chown -R www-data: /app
|
||||
|
||||
USER www-data
|
||||
|
|
Loading…
Reference in a new issue