mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 00:56:02 +00:00
docker build
This commit is contained in:
17
docker/Dockerfile
Normal file
17
docker/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user