This commit is contained in:
Alex Gibson 2024-03-13 13:21:43 +00:00
Родитель 05a8d56677
Коммит 296d0a72f6
2 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -22,7 +22,7 @@ RUN pip install --require-hashes --no-cache-dir -r requirements/prod.txt
########
# assets builder and dev server
#
FROM node:20-slim AS assets
FROM node:20.8.0-slim AS assets
ENV PATH=/app/node_modules/.bin:$PATH
WORKDIR /app
@ -38,7 +38,7 @@ ENV PATH="/.venv/bin:$PATH"
COPY package.json package-lock.json ./
# install dependencies
RUN npm ci
RUN npm ci --verbose
# copy supporting files and media
COPY .eslintrc.js .eslintignore .stylelintrc .prettierrc.json .prettierignore webpack.config.js webpack.static.config.js ./
@ -46,7 +46,7 @@ COPY ./media ./media
COPY ./tests/unit ./tests/unit
COPY ./glean ./glean
RUN npm run build
RUN npm run build --verbose
########

Просмотреть файл

@ -62,9 +62,9 @@
"test": "npm run glean && npm run lint && npm run jasmine",
"static": "webpack --config webpack.static.config.js --mode=production --bail",
"prebuild": "npm run glean && npm run static",
"build": "webpack --mode=production --bail",
"build": "webpack --mode=production --bail --progress",
"prewatch": "npm run static",
"watch": "webpack serve --mode=development",
"watch": "webpack serve --mode=development --progress",
"prettier": "prettier --write .",
"prettier-check": "prettier --check .",
"stylelint-fix": "./node_modules/.bin/stylelint \"media/css/**/*.{css,scss}\" --fix",