Commit ff2ee73b authored by Terion's avatar Terion

fix

parent c65d5464
......@@ -3,16 +3,11 @@ ADD ./ /usr/share/nginx/
WORKDIR /usr/share/nginx/
RUN chown -R u_web .
# both variants, 'su u_web && cmd' and 'USER u_web \ RUN cmd' seem to work with sudo permissions
# 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/bower/bin/gulp.js --production
# 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
RUN 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