chore: update dockerfile

This commit is contained in:
chenos 2022-03-09 17:50:45 +08:00
parent 35c3d47ba1
commit 72fe338bf1
3 changed files with 10 additions and 2 deletions

View File

@ -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" ]

View File

@ -0,0 +1,6 @@
FROM adminer
USER root
CMD [ "php", "-S", "[::]:8080", "-t", "/var/www/html" ]
EXPOSE 8080