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
|
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue