chore: update dockerfile
This commit is contained in:
parent
35c3d47ba1
commit
72fe338bf1
@ -4,7 +4,9 @@ networks:
|
||||
driver: bridge
|
||||
services:
|
||||
adminer:
|
||||
image: adminer
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./docker/adminer/Dockerfile
|
||||
restart: always
|
||||
networks:
|
||||
- nocobase
|
||||
@ -28,7 +30,7 @@ services:
|
||||
nocobase:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
dockerfile: ./docker/nocobase/Dockerfile
|
||||
networks:
|
||||
- nocobase
|
||||
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