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 RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories

View File

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