chore: update dockerfile
This commit is contained in:
parent
35c3d47ba1
commit
72fe338bf1
@ -4,7 +4,9 @@ networks:
|
|||||||
driver: bridge
|
driver: bridge
|
||||||
services:
|
services:
|
||||||
adminer:
|
adminer:
|
||||||
image: adminer
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: ./docker/adminer/Dockerfile
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- nocobase
|
- nocobase
|
||||||
@ -28,7 +30,7 @@ services:
|
|||||||
nocobase:
|
nocobase:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: ./docker/nocobase/Dockerfile
|
||||||
networks:
|
networks:
|
||||||
- nocobase
|
- nocobase
|
||||||
command: [ "yarn", "start" ]
|
command: [ "yarn", "start" ]
|
||||||
|
6
docker/adminer/Dockerfile
Normal file
6
docker/adminer/Dockerfile
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
FROM adminer
|
||||||
|
|
||||||
|
USER root
|
||||||
|
CMD [ "php", "-S", "[::]:8080", "-t", "/var/www/html" ]
|
||||||
|
|
||||||
|
EXPOSE 8080
|
Loading…
Reference in New Issue
Block a user