add build logic for new ui
This commit is contained in:
parent
6641455ef2
commit
10d6492949
14
ui/Dockerfile
Normal file
14
ui/Dockerfile
Normal file
@ -0,0 +1,14 @@
|
||||
FROM node:10 AS builder
|
||||
MAINTAINER OhMyForm <admin@ohmyform.com>
|
||||
|
||||
WORKDIR /opt/app
|
||||
|
||||
# just copy everhing
|
||||
COPY . .
|
||||
|
||||
RUN yarn install --frozen-lockfile
|
||||
RUN yarn build
|
||||
|
||||
FROM nginx
|
||||
|
||||
COPY --from=builder /opt/app/dist /var/share/nginx/html
|
||||
Loading…
x
Reference in New Issue
Block a user