renme compile job to build
This commit is contained in:
parent
947e64d94c
commit
0349c0533e
|
@ -7,7 +7,7 @@ COPY . .
|
||||||
RUN mkdir public/js
|
RUN mkdir public/js
|
||||||
RUN mkdir public/css
|
RUN mkdir public/css
|
||||||
RUN yarn install --network-timeout 1000000
|
RUN yarn install --network-timeout 1000000
|
||||||
RUN yarn compile
|
RUN yarn build
|
||||||
|
|
||||||
# |--------------------------------------------------------------------------
|
# |--------------------------------------------------------------------------
|
||||||
# | Install PHP dependencies
|
# | Install PHP dependencies
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"author": "jonasled <git@jonasled.de>",
|
"author": "jonasled <git@jonasled.de>",
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"compile": "concurrently \"yarn css\" \"yarn js\"",
|
"build": "concurrently \"yarn css\" \"yarn js\"",
|
||||||
"css": "stylus styl/ -o public/css/ ",
|
"css": "stylus styl/ -o public/css/ ",
|
||||||
"js": "webpack --config ./webpack.conf.js",
|
"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\""
|
"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\""
|
||||||
|
|
Loading…
Reference in a new issue