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/css
|
||||
RUN yarn install --network-timeout 1000000
|
||||
RUN yarn compile
|
||||
RUN yarn build
|
||||
|
||||
# |--------------------------------------------------------------------------
|
||||
# | Install PHP dependencies
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"author": "jonasled <git@jonasled.de>",
|
||||
"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\""
|
||||
|
|
Loading…
Reference in New Issue