-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6530382
commit bee8c68
Showing
3 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
ARG IMAGE=intersystemsdc/iris-ml-community:latest as build | ||
FROM $IMAGE | ||
|
||
USER root | ||
|
||
WORKDIR /opt/irisapp | ||
RUN chown ${ISC_PACKAGE_MGRUSER}:${ISC_PACKAGE_IRISGROUP} /opt/irisapp | ||
USER ${ISC_PACKAGE_MGRUSER} | ||
|
||
COPY build build | ||
COPY module.xml module.xml | ||
COPY iris.script /tmp/iris.script | ||
|
||
RUN iris start IRIS \ | ||
&& iris session IRIS < /tmp/iris.script \ | ||
&& iris stop IRIS quietly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version: '3.8' | ||
services: | ||
iris: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile | ||
restart: always | ||
command: --check-caps false | ||
ports: | ||
- 51663:1972 | ||
- 52663:52773 | ||
- 53773 | ||
volumes: | ||
- ./:/irisdev/app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
zn "%SYS" | ||
Do ##class(Security.Users).UnExpireUserPasswords("*") | ||
|
||
zn "USER" | ||
zpm "load /opt/irisapp/ -v":1:1 | ||
halt |