diff --git a/Dockerfile b/Dockerfile index e80dad2..149d670 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ COPY . . RUN mkdir public/js RUN mkdir public/css RUN yarn install --network-timeout 1000000 -RUN yarn compile +RUN yarn build # |-------------------------------------------------------------------------- # | Install PHP dependencies diff --git a/package.json b/package.json index 8fa718d..53805d5 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "author": "jonasled ", "license": "GPL-3.0-or-later", "scripts": { - "compile": "concurrently \"yarn css\" \"yarn js\"", + "build": "concurrently \"yarn css\" \"yarn js\"", "css": "stylus styl/ -o public/css/ ", "js": "webpack --config ./webpack.conf.js", "watch": "concurrently \"stylus -w styl/ -o public/css/\" \"cd public && php -S 0.0.0.0:1234\" \"webpack --config ./webpack.conf.js --mode development --watch\""