File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,16 @@ RUN adduser --shell /bin/bash --gecos 'codebox workspace user' --disabled-passwo
3333# Add codebox's source code to the container
3434# "./buildstack.sh base" will generate a local source folder for this
3535# That is clean of temporary folders and node_moudles
36- ADD ./src /opt/codebox
36+ # ADD ./src /opt/codebox
3737
3838# Install node modules
39- RUN cd /opt/codebox; npm install
39+ # RUN cd /opt/codebox; npm install
4040
4141# Build client
42- RUN cd /opt/codebox; node_modules/.bin/hr.js -d client build
42+ # RUN cd /opt/codebox; node_modules/.bin/hr.js -d client build
4343
4444# Default init command
4545CMD su codebox /opt/codebox/init.sh
46+
47+ # Needed Volumes
48+ VOLUME ["/opt/codebox" ]
Original file line number Diff line number Diff line change 88# Constants
99# ##
1010BASE_REPO=" codebox"
11- BASE_STACK=" base "
11+ BASE_STACK=" null "
1212SRC_DIR=$( readlink -f ..)
1313TMP_SRC=" /tmp/codebox_src"
1414STACK_SRC=" ${SRC_DIR} /stacks/base/src"
You can’t perform that action at this time.
0 commit comments