mirror of
https://github.com/Kovah/LinkAce.git
synced 2025-01-17 21:28:30 +01:00
Fix release Dockerfile
This commit is contained in:
parent
254049dd53
commit
8a2075783a
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user