-
Notifications
You must be signed in to change notification settings - Fork 28
Overide: Compose
Michael Kenney edited this page Mar 17, 2018
·
1 revision
A simple docker-compose
dev build solution that overrides the run-as-user
script entirely.
version: '3'
services:
httpd:
container_name: "http"
image: nginx
volumes:
- .:/var/www/html/
npm:
container_name: "http.npm"
image: mkenney/npm:node-8-alpine
stdin_open: true
tty: true
entrypoint: npm
command: ["install"]
volumes:
- .:/src
About the run-as-user
script
Public key access to private repositories
Specify UID
and GID
values
Override the run-as-user
script entirely