change workspace and php-fpm work directories
making them compatible with multiple projects
This commit is contained in:
parent
6ee790c26d
commit
2ed09f42ca
@ -142,7 +142,7 @@ RUN rm -r /var/lib/apt/lists/*
|
|||||||
|
|
||||||
RUN usermod -u 1000 www-data
|
RUN usermod -u 1000 www-data
|
||||||
|
|
||||||
WORKDIR /var/www/laravel
|
WORKDIR /var/www
|
||||||
|
|
||||||
CMD ["php-fpm"]
|
CMD ["php-fpm"]
|
||||||
|
|
||||||
|
@ -153,7 +153,7 @@ RUN rm -r /var/lib/apt/lists/*
|
|||||||
|
|
||||||
RUN usermod -u 1000 www-data
|
RUN usermod -u 1000 www-data
|
||||||
|
|
||||||
WORKDIR /var/www/laravel
|
WORKDIR /var/www
|
||||||
|
|
||||||
CMD ["php-fpm"]
|
CMD ["php-fpm"]
|
||||||
|
|
||||||
|
@ -246,4 +246,4 @@ RUN apt-get clean && \
|
|||||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
|
|
||||||
# Set default work directory
|
# Set default work directory
|
||||||
WORKDIR /var/www/laravel
|
WORKDIR /var/www
|
||||||
|
Loading…
Reference in New Issue
Block a user