NuxtJS
시작하기
C:\Users\JohnDoe\Documents\demo-nuxt-edgegap> yarnC:\Users\JohnDoe\Documents\demo-nuxt-edgegap> yarn dev요구 사항
애플리케이션 컨테이너화하기
FROM node:lts as builder
WORKDIR /app
COPY . .
RUN yarn install \
--prefer-offline \
--frozen-lockfile \
--non-interactive \
--production=false
RUN yarn build
RUN rm -rf node_modules && \
NODE_ENV=production yarn install \
--prefer-offline \
--pure-lockfile \
--non-interactive \
--production=true
FROM node:lts
WORKDIR /app
COPY --from=builder /app .
ENV HOST 0.0.0.0
EXPOSE 80
CMD [ "yarn", "start" ]Edgegap에 애플리케이션 배포하기
Edgegap 대시보드를 통한 애플리케이션 배포:




Edgegap의 API를 통해 애플리케이션 배포하기

마지막 업데이트
도움이 되었나요?

