feat: set default workdir

This commit is contained in:
badPointer 2023-03-06 12:25:23 +00:00
parent ac8101c7f3
commit 10538b22b1

View file

@ -57,8 +57,11 @@ RUN install-php-extensions mbstring \
ctype \
common; \
# Install phive, phab and ncc
# Install phive, phab and ncc; create workdir
chmod +x phive.phar; \
mv phive.phar /usr/local/bin/phive; \
phive install phpab --global --trust-gpg-keys 0x2A8299CE842DD38C; \
cd ncc; php build/src/INSTALL --auto --install-composer; cd ..; rm -rf ncc
cd ncc; php build/src/INSTALL --auto --install-composer; cd ..; rm -rf ncc; \
mkdir /app
WORKDIR /app