microserviced /api folder to another docker container
This commit is contained in:
6
api/Dockerfile
Normal file
6
api/Dockerfile
Normal file
@@ -0,0 +1,6 @@
|
||||
FROM node:14-alpine
|
||||
WORKDIR /usr/src/app
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
COPY . .
|
||||
CMD ["node", "server.js"]
|
||||
Reference in New Issue
Block a user