Skip to content

Commit

Permalink
DBZ-6757: Update docker file (#822)
Browse files Browse the repository at this point in the history
* DBZ-6757: Update docker file

* DBZ-6757: Update readme
  • Loading branch information
indraraj authored Jan 12, 2024
1 parent a058bc7 commit 4a7ae35
Show file tree
Hide file tree
Showing 4 changed files with 1,208 additions and 2,622 deletions.
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

0 comments on commit 4a7ae35

Please sign in to comment.