Ver Fonte

fix: docker

double.huang há 4 anos atrás
pai
commit
5741ac45b9
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      Dockerfile

+ 2 - 0
Dockerfile

@@ -2,6 +2,8 @@ FROM alpine
 
 ADD i2-bill-erp.tar.gz /app/
 
+RUN echo "127.0.0.1	localhost" >> /etc/hosts && echo "127.0.0.1	i2-bill-erp" >> /etc/hosts
+
 VOLUME [ "/app/etc" ]
 EXPOSE 8888
 WORKDIR /app