version: '3'
services:
centos7:
build:
context: lazyDir
dockerfile: centos7.Dockerfile
args:
uid: "${_UID:-1000}"
gid: "${_GID:-1000}"
volumes:
- .:/var/tmp/nodejs
working_dir: /var/tmp/nodejs
stdin_open: true
tty: true
hostname: nodejs.local
container_name: nodejs.local
command: bash
networks:
- bridge
deploy:
resources:
limits:
cpus: '1.5'
memory: 256M
networks:
bridge:
external: true