Kaynağa Gözat

fix: docker

double.huang 4 yıl önce
ebeveyn
işleme
5741ac45b9
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  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