1
0
mirror of https://github.com/Kovah/LinkAce.git synced 2025-01-17 13:18:21 +01:00

Fix release Dockerfile

This commit is contained in:
Kovah 2024-02-05 23:22:45 +01:00
parent b3369e2fff
commit feccc5f403
No known key found for this signature in database
GPG Key ID: AAAA031BA9830D7B
2 changed files with 7 additions and 3 deletions

View File

@ -3,6 +3,6 @@ FROM php:8.3-fpm-alpine
# Install package and PHP dependencies
RUN apk add --no-cache mariadb-client postgresql postgresql-dev sqlite zip libzip-dev; \
docker-php-ext-configure zip; \
docker-php-ext-install bcmath pdo_mysql pdo_pgsql zip; \
docker-php-ext-install bcmath pdo_mysql pdo_pgsql zip ftp; \
mkdir /ssl-certs; \
docker-php-source delete

View File

@ -2,9 +2,11 @@
# ================================
# PHP Dependency Setup
FROM composer AS builder
FROM linkace/base-image:php-8.3-alpine AS builder
WORKDIR /app
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
# Make needed parts of the app available in the container
COPY ./app /app/app
COPY ./bootstrap /app/bootstrap
@ -28,7 +30,9 @@ RUN mv vendor/spatie/laravel-backup/resources/lang/de vendor/spatie/laravel-back
mv vendor/spatie/laravel-backup/resources/lang/it vendor/spatie/laravel-backup/resources/lang/it_IT; \
mv vendor/spatie/laravel-backup/resources/lang/no vendor/spatie/laravel-backup/resources/lang/no_NO; \
mv vendor/spatie/laravel-backup/resources/lang/pl vendor/spatie/laravel-backup/resources/lang/pl_PL; \
mv vendor/spatie/laravel-backup/resources/lang/zh-CN vendor/spatie/laravel-backup/resources/lang/zh_CN
mv vendor/spatie/laravel-backup/resources/lang/ro vendor/spatie/laravel-backup/resources/lang/zh_CN; \
mv vendor/spatie/laravel-backup/resources/lang/ru vendor/spatie/laravel-backup/resources/lang/ro_RO; \
mv vendor/spatie/laravel-backup/resources/lang/zh-CN vendor/spatie/laravel-backup/resources/lang/ru_RU
# ================================
# Compile all assets