Update Dockerfile
Browse files- Dockerfile +6 -1
Dockerfile
CHANGED
@@ -1,6 +1,11 @@
|
|
1 |
# 使用 PostgreSQL 作为基础镜像
|
2 |
FROM postgres:latest
|
3 |
|
|
|
|
|
|
|
|
|
|
|
4 |
# 设置构建时变量
|
5 |
ARG DUMP_URL
|
6 |
ARG DUMP_PASSWORD
|
@@ -40,7 +45,7 @@ ENV POSTGRES_USER=${POSTGRES_USER} \
|
|
40 |
RUN apt-get update && apt-get install -y \
|
41 |
curl unzip gnupg build-essential sudo vim git procps lsof net-tools \
|
42 |
ca-certificates openssl tzdata python3 python3-venv python3-pip gosu \
|
43 |
-
htop jq wget && \
|
44 |
# 安装 Node.js
|
45 |
curl -fsSL https://deb.nodesource.com/setup_${NODEJS_VER}.x | bash - && \
|
46 |
apt-get install -y nodejs && \
|
|
|
1 |
# 使用 PostgreSQL 作为基础镜像
|
2 |
FROM postgres:latest
|
3 |
|
4 |
+
# 元数据
|
5 |
+
LABEL maintainer="B站ai来事 <[email protected]>"
|
6 |
+
LABEL version="2.0"
|
7 |
+
LABEL description="Custom image with PostgreSQL, Node.js, and Python for n8n"
|
8 |
+
|
9 |
# 设置构建时变量
|
10 |
ARG DUMP_URL
|
11 |
ARG DUMP_PASSWORD
|
|
|
45 |
RUN apt-get update && apt-get install -y \
|
46 |
curl unzip gnupg build-essential sudo vim git procps lsof net-tools \
|
47 |
ca-certificates openssl tzdata python3 python3-venv python3-pip gosu \
|
48 |
+
htop jq wget lftp && \
|
49 |
# 安装 Node.js
|
50 |
curl -fsSL https://deb.nodesource.com/setup_${NODEJS_VER}.x | bash - && \
|
51 |
apt-get install -y nodejs && \
|