Commit 3ada82a2 authored by Terion's avatar Terion
Browse files


parent 3be1c0a3
......@@ -5,8 +5,8 @@ RUN chown -R u_web .
# both variants, 'RUN su u_web && cmd' and 'USER u_web \ RUN cmd' seem to work with sudo permissions
# this is annoying but no way to change
USER u_web
RUN bundle install
RUN npm install
RUN ./node_modules/bower/bin/bower install --allow-root
RUN node ./node_modules/gulp/bin/gulp.js --production
\ No newline at end of file
# USER u_web
RUN su u_web && bundle install
RUN su u_web && npm install
RUN su u_web && ./node_modules/bower/bin/bower install --allow-root
RUN su u_web && node ./node_modules/gulp/bin/gulp.js --production
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment