6
0
Fork 0

Update dockerfile

release
李静 2022-01-12 16:34:07 +08:00
parent 48140d5d9e
commit 88ae0c873d
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM php:8.0-fpm-alpine
FROM php:8.1-fpm-alpine
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories

View File

@ -16,12 +16,12 @@ services:
build:
context: .
dockerfile: Dockerfile
image: e-commerce/php:8.0
image: e-commerce/php
restart: always
volumes:
- ./:/var/www/html
mysql:
image: mysql:8.0
image: mysql/mysql-server:8.0
restart: always
ports:
- '${FORWARD_DB_PORT:-3306}:3306'