fix: create missing directory
This commit is contained in:
parent
a97e3a328d
commit
e1bbec9d95
1 changed files with 2 additions and 1 deletions
|
|
@ -28,10 +28,11 @@ RUN npm version --allow-same-version --git-tag-version false --commit-hooks fals
|
|||
RUN npm install --production
|
||||
|
||||
COPY . ./
|
||||
RUN mkdir -p public
|
||||
RUN rm -rf public/*
|
||||
|
||||
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 cd .. && tar -zcvf lamassu-server.tar.gz ./lamassu-server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue