version: '2.0'
services:
centos:
image: zopin/eaip_front:1.1
container_name: eaip_front
ports:
- "80:80"
volumes:
- ./:/inspection_front
command: bash -c "mkdir -p /front && cp -rf /inspection_front/* /front && cd /front
&& npm install && npm run build
&& cp -rf /front/dist/* /usr/share/nginx/html/
&& nginx -g 'daemon off;' "
Content type
Image
Digest
Size
533.5 MB
Last updated
almost 7 years ago
docker pull zopin/eaip_front:1.4