keep workspace container alive with tty
This commit is contained in:
parent
51b6d4f844
commit
377f24fe2b
@ -12,6 +12,7 @@ services:
|
||||
- ./logs/nginx/:/var/log/nginx
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
links:
|
||||
- php-fpm
|
||||
|
||||
@ -132,5 +133,6 @@ services:
|
||||
build: ./workspace
|
||||
volumes_from:
|
||||
- data
|
||||
tty: true
|
||||
|
||||
### Add more Containers below ###############################
|
||||
|
@ -37,9 +37,8 @@ RUN curl -s http://getcomposer.org/installer | php \
|
||||
&& alias composer='/usr/local/bin/composer.phar'
|
||||
|
||||
# Clean up
|
||||
RUN rm -r /var/lib/apt/lists/*
|
||||
|
||||
ENTRYPOINT ["top", "-b"]
|
||||
RUN apt-get clean \
|
||||
&& rm -r /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /var/www/laravel
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user