Skip to content

Commit 3fd1c30

Browse files
committed
Remove WORKDIR, closes #77
1 parent 894f14d commit 3fd1c30

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,12 @@ RUN mkdir -p /tmp/xdebug \
9999

100100
# Install Composer, VarDumper and Kint
101101
# && composer global require symfony/var-dumper kint-php/kint --no-interaction \
102-
WORKDIR /usr/src
103-
RUN curl -sS https://getcomposer.org/installer | php \
102+
RUN cd /usr/src \
103+
&& curl -sS https://getcomposer.org/installer | php \
104104
&& mv composer.phar /usr/local/bin/composer \
105-
&& pwd > /usr/src/pwd.txt \
106105
&& composer require symfony/var-dumper kint-php/kint --no-interaction \
107106
&& echo 'auto_prepend_file=/usr/src/debug_loader.php' > /usr/local/etc/php/conf.d/z_iop-debug_loader.ini
108107

109-
110108
COPY src/debug_loader.php /usr/src
111109

112110
# Setup alternate WordPress debug.log location in /var/log

0 commit comments

Comments
 (0)