refactor: improved images for l-s and l-a-s
This commit is contained in:
parent
b9b532a633
commit
95df06250e
33 changed files with 137 additions and 749 deletions
16
build/ci.Dockerfile
Normal file
16
build/ci.Dockerfile
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue