Merge pull request #1699 from siiky/fix/ci-build-3

fix: create missing directory
This commit is contained in:
Rafael Taranto 2024-08-08 15:11:10 +01:00 committed by GitHub
commit ed288cc8b8

View file

@ -28,10 +28,11 @@ RUN npm version --allow-same-version --git-tag-version false --commit-hooks fals
RUN npm install --production RUN npm install --production
COPY . ./ COPY . ./
RUN mkdir -p public
RUN rm -rf public/* RUN rm -rf public/*
RUN cd new-lamassu-admin && npm install && npm run build RUN cd new-lamassu-admin && npm install && npm run build
RUN cp -r new-lamassu-admin/build/* -t new-lamassu-admin/public/ RUN cp -r new-lamassu-admin/build/* -t public/
RUN rm -rf new-lamassu-admin/node_modules RUN rm -rf new-lamassu-admin/node_modules
RUN cd .. && tar -zcvf lamassu-server.tar.gz ./lamassu-server RUN cd .. && tar -zcvf lamassu-server.tar.gz ./lamassu-server