Select Git revision
-
Rafael Guterres Jeffman authored
When running pylint against 'setup.py' it warns that an import is not used. While it is not directly used, this is a fix for an issue with older versions of Python, so this change tells pylint to ignore the error.
Rafael Guterres Jeffman authoredWhen running pylint against 'setup.py' it warns that an import is not used. While it is not directly used, this is a fix for an issue with older versions of Python, so this change tells pylint to ignore the error.
Dockerfile 465 B
# The builder image
FROM node:23.8.0 AS builder
ENV NODE_ENV=production
WORKDIR /app
RUN --mount=type=bind,source=package.json,target=package.json \
--mount=type=bind,source=package-lock.json,target=package-lock.json \
--mount=type=secret,id=npmrc,target=/home/node/.npmrc \
npm ci --omit=dev
COPY . .
RUN npm run build
# The production image
FROM nginxinc/nginx-unprivileged:1.27.4 AS production
COPY --from=builder /app/build/ /usr/share/nginx/html/