mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 12:13:57 +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
|