-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDockerfile.service
More file actions
21 lines (16 loc) · 923 Bytes
/
Dockerfile.service
File metadata and controls
21 lines (16 loc) · 923 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Dockerfile that builds a minimal container for IPython + narrative
#
# Copyright 2013 The Regents of the University of California,
# Lawrence Berkeley National Laboratory
# United States Department of Energy
# The DOE Systems Biology Knowledgebase (KBase)
# Made available under the KBase Open Source License
#
FROM kbase/depl:latest
MAINTAINER Shane Canon scanon@lbl.gov
ADD ./THIS_MODULE /kb/dev_container/modules/THIS_MODULE
# Comment out this line and use the commented second line if you are modifying an already running service
RUN cd /kb/dev_container/modules/THIS_MODULE && . ../../user-env.sh && make && make deploy && cat deploy.cfg >> /kb/deployment/deployment.cfg
#RUN cd /kb/dev_container/modules/THIS_MODULE && . ../../user-env.sh && make && make deploy
# Make any changes to ensure the service runs in the foreground.
# Do not set the docker instruction "CMD", as this would overwrite kbase defaults.