-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDockerfile
23 lines (18 loc) · 884 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# This is a template Dockerfile in case you want to offer your users the
# possibility to run your wrapper using Docker (for example, this may be handy
# when the installation of a required simulation engine is complicated)
FROM python:3.10
LABEL org.opencontainers.image.authors="[email protected]"
ADD . /simphony/wrappers/package-name
WORKDIR /simphony/wrappers/package-name
# Install requirements
RUN apt-get update && apt-get install -y \
<packages>
# Install engine and engine dependencies (if not available via `apt-get`)
RUN echo "Install the engine here"
# Install your package. Dependencies, including `simphony-osp` will be
# automatically installed.
RUN pip install .
# Maybe you also need to install a specific ontology that your wrapper makes
# use of (like `package_name/ontology.yml` for this prototype wrapper example).
RUN pico install some_ontology_maybe.yml