mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 13:06:01 +00:00
18 lines
239 B
Docker
18 lines
239 B
Docker
# base image
|
|
FROM node:10
|
|
|
|
# set working directory
|
|
WORKDIR /home/jenasoft/dbgate
|
|
|
|
COPY . .
|
|
|
|
RUN yarn
|
|
RUN yarn build:api
|
|
RUN yarn build:web
|
|
|
|
# start app
|
|
WORKDIR /home/jenasoft/raftcz-frontend/build
|
|
EXPOSE 5000
|
|
# CMD yarn start
|
|
CMD serve -s
|