Skip to content

Commit

Permalink
Copy Dockerfile to root folder.
Browse files Browse the repository at this point in the history
Signed-off-by: pipeacosta <[email protected]>
  • Loading branch information
pipeacosta committed Oct 2, 2024
1 parent 2856178 commit ffedb7e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Dockerfile
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" ]

0 comments on commit ffedb7e

Please sign in to comment.