Building proto messages in CI

This commit is contained in:
David Négrier 2020-09-18 17:51:12 +02:00
parent 398ca1760b
commit d3116c7400
3 changed files with 10 additions and 2 deletions

View file

@ -4,7 +4,7 @@ FROM thecodingmachine/nodejs:14-apache
COPY --chown=docker:docker front .
COPY --chown=docker:docker messages /var/www/messages
RUN yarn install
RUN cd /var/www/messages && yarn install
RUN cd /var/www/messages && yarn install && yarn proto
ENV NODE_ENV=production
ENV STARTUP_COMMAND_1="yarn run build"