We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 270c97e commit 4ed19b6Copy full SHA for 4ed19b6
Dockerfile
@@ -49,4 +49,7 @@ ENV NODE_ENV production
49
EXPOSE 3000
50
51
ENTRYPOINT ["dumb-init", "--"]
52
-CMD [ "npm", "start" ]
+
53
+# Change dns (because error: getaddrinfo EAI_AGAIN)
54
+CMD echo "nameserver 1.1.1.1" > /etc/resolv.conf && \
55
+ npm start
0 commit comments