chore: optimize workflows to avoid building components each time

This commit is contained in:
Mo
2022-06-14 16:00:31 -05:00
parent 703994c16b
commit 01793365bd
400 changed files with 17000 additions and 1544 deletions

View File

@@ -20,18 +20,13 @@ RUN chown -R $UID:$GID .
USER $USERNAME
COPY --chown=$UID:$GID package.json yarn.lock /app/
COPY --chown=$UID:$GID packages/web/package.json /app/packages/web/package.json
COPY --chown=$UID:$GID packages/web-server/package.json /app/packages/web-server/package.json
COPY --chown=$UID:$GID . /app
RUN yarn install
RUN gem install bundler
RUN yarn build:web:all
RUN yarn build:web-server
EXPOSE 3000