Commit 39e70605 authored by David Foucher's avatar David Foucher

Fix path for building node js app

parent 0d156b1d
Pipeline #1977 failed with stage
in 1 minute and 6 seconds
......@@ -3,10 +3,10 @@ FROM node:10 AS back_app_node
ARG TREFLE_GIT
ARG TREFLE_BACK_VERSION
RUN git clone -b ${TREFLE_BACK_VERSION} ${TREFLE_GIT} /srv/trefle && \
chown -R www-data: /srv/trefle && \
chmod -R u+rwx /srv/trefle && \
cd /srv/trefle/backoffice && \
RUN git clone -b ${TREFLE_BACK_VERSION} ${TREFLE_GIT} trefle && \
chown -R www-data: trefle && \
chmod -R u+rwx trefle && \
cd trefle/backoffice && \
npm install && \
npm run build
......
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