docker build

This commit is contained in:
Jan Prochazka
2020-03-15 09:35:34 +01:00
parent ae3b826826
commit 3a8c961920
7 changed files with 155 additions and 26 deletions

17
docker/Dockerfile Normal file
View 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