1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-11 03:34:35 +00:00

chore: docker configured for development api+web+mongodb

This commit is contained in:
Saad Jutt
2021-11-14 09:03:38 +05:00
parent d5024012c4
commit 4792f15c40
9 changed files with 62 additions and 27 deletions

9
web/Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM node:lts-alpine
WORKDIR /usr/server/web
COPY ["package.json","package-lock.json", "./"]
RUN npm ci
COPY . .
EXPOSE 3000
# RUN chown -R node /usr/server/api
# USER node
CMD ["npm","start"]