Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DBZ-6757: Update docker file #822

Merged
merged 2 commits into from
Jan 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
# Use the official Node.js image as the base image
FROM node:18
####
# This Dockerfile is used in order to build a container with Debezium UI.
###

FROM registry.access.redhat.com/ubi9/nodejs-18

# Set the working directory inside the container
WORKDIR /app

# Copy package.json and package-lock.json (or yarn.lock) to the working directory
COPY package*.json ./
COPY --chown=1001 package*.json ./

# Install dependencies
RUN npm install

# Copy the rest of the application code to the working directory
COPY . .
COPY --chown=1001 . .

EXPOSE 3000

# Set the environment variable NODE_ENV to "production"
ENV NODE_ENV=production

# Set the environment variable KAFKA_CONNECT_CLUSTERS
ENV KAFKA_CONNECT_CLUSTERS=http://localhost:8085/
ENV KAFKA_CONNECT_CLUSTERS=http://localhost:8083/

# Build the React application
RUN npm run build
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This project is under active development, any contributions are very welcome.

## Prerequisites

Debezium UI needs a properly running Debezium instance version 1.4.0.Beta1 or newer and running DB instances, depending
With the latest update to Debezium UI you need a properly running Debezium instance version 2.5 or newer and running DB instances, depending
on what connectors you are going to use (Postgres, Mongo DB, MySQL, etc).

### DEV Infrastructure with Docker-Compose
Expand Down
Loading