Skip to content
Snippets Groups Projects
Commit 54cabd08 authored by David Rychlý's avatar David Rychlý
Browse files

aktualizace Node

parent 82b1c9dd
Branches
No related tags found
1 merge request!2Oprava keycloak
image: node:14-bullseye image: node:18.20.4-bullseye
variables: variables:
SITE_NAME: cf2024.online SITE_NAME: cf2024.online
...@@ -21,5 +21,5 @@ build: ...@@ -21,5 +21,5 @@ build:
artifacts: artifacts:
expire_in: 30 min expire_in: 30 min
paths: paths:
- $ARTIFACTS_PATH - $ARTIFACTS_PATH
14.13 18.20.4
\ No newline at end of file
FROM node:14.13-alpine3.12 as build FROM node:18.20.4-alpine AS build
ARG BUILD_REACT_APP_STYLEGUIDE_URL ARG BUILD_REACT_APP_STYLEGUIDE_URL
...@@ -18,7 +18,7 @@ RUN npm run build ...@@ -18,7 +18,7 @@ RUN npm run build
# --- # ---
FROM nginx:alpine as production FROM nginx:alpine AS production
COPY --from=build /home/node/cf2021/build /usr/share/nginx/html/ COPY --from=build /home/node/cf2021/build /usr/share/nginx/html/
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
FROM node:14.13-alpine3.12 FROM node:18.20.4-alpine
# libs for development -- most of theme needed for canvas support in tests # libs for development -- most of theme needed for canvas support in tests
RUN apk add --no-cache \ RUN apk add --no-cache \
build-base \ build-base \
g++ \ g++ \
libpng \ libpng \
libpng-dev \ libpng-dev \
jpeg-dev \ jpeg-dev \
pango-dev \ pango-dev \
cairo-dev \ cairo-dev \
giflib-dev \ giflib-dev \
python3 \ python3 \
; ;
WORKDIR /app/cf2021 WORKDIR /app/cf2021
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment