Skip to content
Snippets Groups Projects
Commit 72f6eaca authored by iaibrys's avatar iaibrys
Browse files

Build feedback.js in Dockerfile

parent 2ecd24ff
No related branches found
No related tags found
No related merge requests found
Pipeline #360 passed
......@@ -49,6 +49,8 @@ RUN bundle install --without development --binstubs
COPY package.json ${APP_ROOT}/package.json
RUN sudo chown -R ${CHOWN} ~/.npm
RUN sudo chown -R ${CHOWN} ~/.config
RUN cd deps/feedbackjs && npm install && npm install gulp
RUN cd deps/feedbackjs && npm run build
RUN yarn install
# Add PDF.JS
......@@ -80,7 +82,7 @@ RUN mkdir -p ${APP_ROOT}/log
# Generate cookie key
RUN RAILS_ENV=production PRECOMPILE=1 bundle exec rake secret > ~/secret-key-base.txt
RUN RAILS_ENV=production PRECOMPILE=1 bundle exec rake assets:precompile
RUN RAILS_ENV=production PRECOMPILE=1 bundle exec rake assets:precompile --trace
CMD ["/bin/bash", "-l", "-c", "./scripts/run-server.sh 2>&1 | tee ${APP_ROOT}/log/run-server.log"]
Subproject commit 47688bf26ced2da0fd60e172bdbd9e13247a9d51
Subproject commit 90f530dbdf1bcb57667010f826f9075911004575
......@@ -2104,7 +2104,7 @@ core-js-pure@3.0.1:
resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.0.1.tgz#37358fb0d024e6b86d443d794f4e37e949098cbe"
integrity sha512-mSxeQ6IghKW3MoyF4cz19GJ1cMm7761ON+WObSyLfTu/Jn3x7w4NwNFnrZxgl4MTSvYYepVLNuRtlB4loMwJ5g==
core-js@3.0.1:
core-js@3, core-js@3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.0.1.tgz#1343182634298f7f38622f95e73f54e48ddf4738"
integrity sha512-sco40rF+2KlE0ROMvydjkrVMMG1vYilP2ALoRXcYR4obqbYIuV3Bg+51GEDW+HF8n7NRA+iaA4qD0nD9lo9mew==
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment