Skip to content

Commit

Permalink
Refs #126375 use released mrs-developer as package is released with l…
Browse files Browse the repository at this point in the history
…atest changes
  • Loading branch information
ichim-david committed Feb 4, 2021
1 parent b8681d0 commit f0e4b25
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,15 @@ RUN chown -R node /opt/frontend/
RUN rm -rf /opt/frontend/src/addons/*

WORKDIR /opt/frontend/
RUN npm install -g yalc
RUN npm install -g mrs-developer
USER node

ARG MAX_OLD_SPACE_SIZE=8192
ENV NODE_OPTIONS=--max_old_space_size=$MAX_OLD_SPACE_SIZE

RUN git clone https://github.com/collective/mrs-developer.git \
&& cd mrs-developer \
&& git checkout optional_develop \
&& yalc publish

RUN cd /opt/frontend

RUN RAZZLE_API_PATH=VOLTO_API_PATH RAZZLE_INTERNAL_API_PATH=VOLTO_INTERNAL_API_PATH yarn
RUN yalc add --no-pure mrs-developer
RUN yarn develop
RUN RAZZLE_API_PATH=VOLTO_API_PATH RAZZLE_INTERNAL_API_PATH=VOLTO_INTERNAL_API_PATH yarn

Expand Down

0 comments on commit f0e4b25

Please sign in to comment.