From cb79b3e43affef8ebb4ea484dace71efe7f21dee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CEvgeny?= Date: Fri, 2 Feb 2024 10:44:25 +0100 Subject: [PATCH] added .env in ignore list --- .gitignore | 2 +- Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e6aff51..1522d01 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ .DS_Store - +.env diff --git a/Dockerfile b/Dockerfile index 6dc20f3..b0294d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ FROM $IMAGE as builder WORKDIR /home/irisowner/irisdev #RUN chown ${ISC_PACKAGE_MGRUSER}:${ISC_PACKAGE_IRISGROUP} /opt/irisapp -# run iris and initial +# copy all the source into container and run iris. also run a initial script RUN --mount=type=bind,src=.,dst=. \ iris start IRIS && \ iris session IRIS < iris.script && \ @@ -16,4 +16,4 @@ ADD --chown=${ISC_PACKAGE_MGRUSER}:${ISC_PACKAGE_IRISGROUP} https://github.com/g RUN --mount=type=bind,source=/,target=/builder/root,from=builder \ cp -f /builder/root/usr/irissys/iris.cpf /usr/irissys/iris.cpf && \ - python3 /irisdev/app/copy-data.py -c /usr/irissys/iris.cpf -d /builder/root/ \ No newline at end of file + python3 /irisdev/app/copy-data.py -c /usr/irissys/iris.cpf -d /builder/root/ \ No newline at end of file