Dockerfile 282 B

12345678910
  1. FROM alpine
  2. ADD i2-bill-erp.tar.gz /app/
  3. RUN echo "echo '127.0.0.1 i2-bill-erp' > /etc/hosts" >> /app/entrypoint.sh
  4. RUN echo "/app/i2-bill-erp -f /app/etc/transform.yaml" >> /app/entrypoint.sh
  5. VOLUME [ "/app/etc" ]
  6. EXPOSE 8888
  7. WORKDIR /app
  8. ENTRYPOINT ["sh", "/app/entrypoint.sh"]