Jinsu Park

Add: dockerize, docker-compose

version: "3.8"
services:
react:
image: umi0410/khuwitch-react
ports:
- "8000:8000"
express:
image: umi0410/khuwitch-express
ports:
- "3303:3303"
\ No newline at end of file
# docker build . -t umi0410/khuwitch-react
# docker push umi0410/khuwitch-react
FROM node:13
COPY . .
RUN npm i
ENV PORT 8000
ENTRYPOINT ["npm"]
CMD ["start"]
\ No newline at end of file
# docker build . -t umi0410/khuwitch-express
# docker push umi0410/khuwitch-express
FROM node:13
COPY . .
RUN npm i
ENV PORT 3303
ENTRYPOINT ["npm"]
CMD ["start"]
\ No newline at end of file