Update dockerfile
parent
48140d5d9e
commit
88ae0c873d
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in New Issue