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