Update Dockerfile
Browse files- Dockerfile +1 -6
Dockerfile
CHANGED
|
@@ -24,13 +24,7 @@ ARG DB_POSTGRESDB_PORT=$DB_POSTGRESDB_PORT
|
|
| 24 |
ARG DB_POSTGRESDB_USER=$DB_POSTGRESDB_USER
|
| 25 |
ARG DB_POSTGRESDB_PASSWORD=$DB_POSTGRESDB_PASSWORD
|
| 26 |
|
| 27 |
-
# Explicitly set DNS server
|
| 28 |
-
RUN echo "nameserver 8.8.8.8" > /etc/resolv.conf
|
| 29 |
-
|
| 30 |
# Change Alpine mirror - Using Aliyun mirror for faster downloads in China
|
| 31 |
-
# You can also try other mirrors if Aliyun fails:
|
| 32 |
-
# http://dl-cdn.alpinelinux.org/alpine/v3.18/main
|
| 33 |
-
# http://dl-cdn.alpinelinux.org/alpine/v3.18/community
|
| 34 |
RUN echo "http://mirrors.aliyun.com/alpine/v3.18/main" > /etc/apk/repositories && \
|
| 35 |
echo "http://mirrors.aliyun.com/alpine/v3.18/community" >> /etc/apk/repositories
|
| 36 |
|
|
@@ -74,3 +68,4 @@ CMD ["n8n", "start"]
|
|
| 74 |
|
| 75 |
|
| 76 |
|
|
|
|
|
|
| 24 |
ARG DB_POSTGRESDB_USER=$DB_POSTGRESDB_USER
|
| 25 |
ARG DB_POSTGRESDB_PASSWORD=$DB_POSTGRESDB_PASSWORD
|
| 26 |
|
|
|
|
|
|
|
|
|
|
| 27 |
# Change Alpine mirror - Using Aliyun mirror for faster downloads in China
|
|
|
|
|
|
|
|
|
|
| 28 |
RUN echo "http://mirrors.aliyun.com/alpine/v3.18/main" > /etc/apk/repositories && \
|
| 29 |
echo "http://mirrors.aliyun.com/alpine/v3.18/community" >> /etc/apk/repositories
|
| 30 |
|
|
|
|
| 68 |
|
| 69 |
|
| 70 |
|
| 71 |
+
|