refactor: improved images for l-s and l-a-s

This commit is contained in:
Rafael Taranto 2024-08-09 11:03:43 +01:00
parent b9b532a633
commit 95df06250e
33 changed files with 137 additions and 749 deletions

16
build/ci.Dockerfile Normal file
View file

@ -0,0 +1,16 @@
FROM alpine:3.14
RUN apk add --no-cache nodejs npm git curl build-base net-tools python3 postgresql-dev
WORKDIR lamassu-server
COPY ["package.json", "package-lock.json", "./"]
RUN npm version --allow-same-version --git-tag-version false --commit-hooks false 1.0.0
RUN npm install --production
COPY . ./
RUN cd new-lamassu-admin && npm install && npm run build
RUN mv new-lamassu-admin/build public/
RUN rm -rf new-lamassu-admin/node_modules
RUN cd .. && tar -zcvf lamassu-server.tar.gz ./lamassu-server