-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: pipeacosta <[email protected]>
- Loading branch information
1 parent
2856178
commit ffedb7e
Showing
1 changed file
with
21 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,21 @@ | ||
# sogno/dpsim:dev is built by dpsim-git/packaging/Docker/Dockerfile.dev | ||
ARG BASE_IMAGE=sogno/dpsim:dev | ||
|
||
FROM ${BASE_IMAGE} | ||
|
||
LABEL \ | ||
org.label-schema.schema-version = "1.0.0" \ | ||
org.label-schema.name = "DPsim" \ | ||
org.label-schema.license = "MPL 2.0" \ | ||
org.label-schema.url = "http://dpsim.fein-aachen.org/" \ | ||
org.label-schema.vcs-url = "https://github.com/sogno-platform/dpsim" | ||
|
||
COPY . /dpsim/ | ||
RUN rm -rf /dpsim/build && mkdir /dpsim/build | ||
WORKDIR /dpsim | ||
|
||
RUN python3 -m build --wheel | ||
RUN python3 -m pip install ./dist/dpsim* | ||
|
||
EXPOSE 8888 | ||
CMD [ "jupyter", "lab", "--ip=0.0.0.0", "--allow-root", "--no-browser", "--LabApp.token=3adaa57df44cea75e60c0169e1b2a98ae8f7de130481b5bc" ] |