Skip to content

Commit

Permalink
copy config file on assemble
Browse files Browse the repository at this point in the history
  • Loading branch information
startxfr committed Mar 3, 2018
1 parent 2ee8630 commit 6455abb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ RUN apk update && apk upgrade && apk add git python make gcc g++ \
&& apk del make gcc g++ \
&& chgrp -R 0 $APP_PATH $CONF_PATH $DATA_PATH /s2i /.npm /.config \
&& chown -R 1001:0 $APP_PATH $CONF_PATH $DATA_PATH /s2i /.npm /.config \
&& chmod -R g=u $APP_PATH $CONF_PATH $DATA_PATH /s2i /.npm /.config
&& chmod -R g=u $APP_PATH $CONF_PATH $DATA_PATH /s2i /.npm /.config \
&& chmod -R ugo+x /s2i

USER 1001
EXPOSE 8080
Expand Down
3 changes: 2 additions & 1 deletion openshift-template-build.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"kind": "Template",
"kind": "Template",
"apiVersion": "v1",
"metadata": {
"name": "sxapi-template",
Expand Down Expand Up @@ -140,6 +140,7 @@
"name": "${APP_NAME}",
"image": "startx/sxapi@sha256:a553b19f6858737f1b2cef8946aa260a9ba34a995ffca12fc25f380e58703544",
"command": [
"npm",
"start"
],
"resources": {},
Expand Down

0 comments on commit 6455abb

Please sign in to comment.