2 Star 1 Fork 0

hailong/debezium-ui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 790 Bytes
一键复制 编辑 原始数据 按行查看 历史
# Use the official Node.js image as the base image
FROM node: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 ./
# Install dependencies
RUN npm install
# Copy the rest of the application code to the working directory
COPY . .
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/
# Build the React application
RUN npm run build
# Install a lightweight web server
# RUN npm install -g serve
# Set the command to start the web server and serve the built application
CMD ["node", "serve"]
# CMD ["npm", "run", "start:dev"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/andy001/debezium-ui.git
git@gitee.com:andy001/debezium-ui.git
andy001
debezium-ui
debezium-ui
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385