From 10538b22b1f5797fccf4ceb094f10de9c1da9e37 Mon Sep 17 00:00:00 2001 From: badPointer Date: Mon, 6 Mar 2023 12:25:23 +0000 Subject: [PATCH] feat: set default workdir --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b80ddb1..096ecd6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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