Add node
This commit is contained in:
parent
4690e0037f
commit
2a2cbd196d
|
@ -5,7 +5,7 @@ RUN composer install --ignore-platform-reqs --no-dev
|
||||||
RUN php artisan telescope:publish
|
RUN php artisan telescope:publish
|
||||||
RUN php artisan horizon:publish
|
RUN php artisan horizon:publish
|
||||||
|
|
||||||
FROM node:17.9.0-slim as node
|
FROM node:18.13.0-slim as node
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . /app
|
COPY . /app
|
||||||
RUN npm install && npm run prod && npm run img && rm -R node_modules
|
RUN npm install && npm run prod && npm run img && rm -R node_modules
|
||||||
|
|
|
@ -22,7 +22,7 @@ steps:
|
||||||
- while ! mysqladmin ping -h db -u db -pdb --silent; do sleep 1; done
|
- while ! mysqladmin ping -h db -u db -pdb --silent; do sleep 1; done
|
||||||
|
|
||||||
- name: node
|
- name: node
|
||||||
image: node:17.9.0-slim
|
image: node:18.13.0-slim
|
||||||
commands:
|
commands:
|
||||||
- cd packages/adrema-plugin && npm ci && npm run build && cd ../../ && npm ci && npm run img && npm run prod && rm -R node_modules
|
- cd packages/adrema-plugin && npm ci && npm run build && cd ../../ && npm ci && npm run img && npm run prod && rm -R node_modules
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue