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

Correct production Docker release files

This commit is contained in:
Kovah 2021-01-21 10:20:14 +01:00
parent 93b5b57ee4
commit 9c9c6c11c7
No known key found for this signature in database
GPG Key ID: AAAA031BA9830D7B

View File

@ -39,7 +39,7 @@ RUN npm run production
# ================================
# Prepare the final image including nginx
FROM webdevops/php-nginx:7.4
FROM webdevops/php-nginx:8.0-alpine
WORKDIR /app
# Copy the app into the container
@ -69,7 +69,7 @@ COPY --from=builder /app/vendor /app/vendor
COPY --from=builder /app/bootstrap/cache /app/bootstrap/cache
# Install MySQL Dump for automated backups
RUN install_packages mariadb-client
RUN apk add --no-cache mariadb-client
# Publish package resources
RUN php artisan vendor:publish --provider="Spatie\Backup\BackupServiceProvider"