Skip to content

Commit 2d34dde

Browse files
authored
Use php 8.0 image
1 parent c3036cb commit 2d34dde

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:7.4-alpine AS build-env
1+
FROM php:8.0-alpine AS build-env
22

33
LABEL owner="Giancarlos Salas"
44
LABEL maintainer="giansalex@gmail.com"
@@ -17,12 +17,13 @@ COPY . .
1717
RUN git apply docker/drift-kernel.patch
1818
RUN git apply docker/drift-adapter.patch
1919
RUN composer install --no-interaction --no-dev --optimize-autoloader --ignore-platform-reqs && \
20-
composer require drift/server:^0.1.15 --ignore-platform-reqs && \
20+
composer require drift/server:^0.1.16 --ignore-platform-reqs && \
2121
composer dump-autoload --optimize --no-dev --classmap-authoritative && \
22+
composer dump-env prod --empty && \
2223
find -name "[Tt]est*" -type d -exec rm -rf {} + && \
2324
find -type f -name '*.md' -delete;
2425

25-
FROM php:7.4-alpine
26+
FROM php:8.0-alpine
2627

2728
ENV APP_ENV prod
2829
ENV API_TOKEN abcxyz

0 commit comments

Comments
 (0)