Revert to Node18 (#2155)

This commit is contained in:
Dotan Simha 2023-05-04 22:30:09 +03:00 committed by GitHub
parent 7cc527a4c8
commit 4e3e02f0da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 8 deletions

View file

@ -1,4 +1,4 @@
FROM node:20.0.0-slim
FROM node:18.16.0-slim
ENV NODE_ENV production

View file

@ -1,4 +1,4 @@
FROM node:20.0.0-slim
FROM node:18.16.0-slim
WORKDIR /usr/src/app
COPY . /usr/src/app/

View file

@ -1,4 +1,4 @@
FROM node:20.0.0-slim
FROM node:18.16.0-slim
RUN apt-get update && apt-get install -y \
wget \

View file

@ -11,7 +11,7 @@ networks:
services:
local_cdn:
image: node:20.0.0-alpine3.16
image: node:18.16.0-alpine3.16
working_dir: /app
command: ['node', 'index.js']
networks:
@ -38,7 +38,7 @@ services:
S3_PUBLIC_URL: 'http://localhost:8083'
local_broker:
image: node:20.0.0-alpine3.16
image: node:18.16.0-alpine3.16
working_dir: /app
command: ['node', 'broker.js']
networks:
@ -78,7 +78,7 @@ services:
SECRET: '${EXTERNAL_COMPOSITION_SECRET}'
external_composition:
image: node:20.0.0-alpine3.16
image: node:18.16.0-alpine3.16
working_dir: /app
command: ['node', 'example.mjs']
networks:
@ -256,10 +256,10 @@ services:
# It's not part of integration tests
app:
image: node:20.0.0-alpine3.16
image: node:18.16.0-alpine3.16
command: ['npx', 'http-server']
# Redpand is used for integration tests, instead of Kafka. Zookeeper is no longer needed
zookeeper:
image: node:20.0.0-alpine3.16
image: node:18.16.0-alpine3.16
command: ['npx', 'http-server']