Jelajahi Sumber

fix: docker

double.huang 4 tahun lalu
induk
melakukan
5741ac45b9
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  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