Docker ๋จ๋
๋น๋ DEMO
CLOUD/Docker
2022. 2. 2. 21:03
- SpringBoot Dockerfile ์์ FROM openjdk:11-jre-slim ENV APP_HOME=/backend/ WORKDIR $APP_HOME COPY build/libs/backend-0.0.1-SNAPSHOT.jar . CMD java -jar backend-0.0.1-SNAPSHOT.jar EXPOSE 8080 - React Dockerfile ์์ # base image FROM node WORKDIR /frontend/ COPY . /frontend/ EXPOSE 3000 CMD ["npm", "start"]