Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
Power System Simulation and Optimization
DPsim
DPsim
Commits
b6794d2c
Commit
b6794d2c
authored
Jul 15, 2019
by
Steffen Vogel
🎅🏼
Browse files
docker: copy examples into image
parent
6264a414
Changes
1
Hide whitespace changes
Inline
Side-by-side
Packaging/Docker/Dockerfile
View file @
b6794d2c
...
@@ -35,5 +35,14 @@ RUN dnf -y install /tmp/*.rpm
...
@@ -35,5 +35,14 @@ RUN dnf -y install /tmp/*.rpm
ADD
requirements.txt .
ADD
requirements.txt .
RUN
pip3
install
-r
requirements.txt
RUN
pip3
install
-r
requirements.txt
CMD
python3
RUN
mkdir
dpsim
COPY
--from=builder /dpsim/Examples /dpsim/
RUN
find /dpsim
\
-name
conftest.py
-o
\
-name
"*.yml"
-o
\
-name
CMakeLists.txt
\
-exec
rm
{}
\;
WORKDIR
/dpsim
EXPOSE
8888
CMD
[ "jupyter", "lab", "--ip=0.0.0.0", "--allow-root", "--no-browser", "--LabApp.token=3adaa57df44cea75e60c0169e1b2a98ae8f7de130481b5bc" ]
CMD
[ "jupyter", "lab", "--ip=0.0.0.0", "--allow-root", "--no-browser", "--LabApp.token=3adaa57df44cea75e60c0169e1b2a98ae8f7de130481b5bc" ]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment