소스 검색

adding docker support

pull/3/head
shiro 2 년 전
부모
커밋
e433b82ac3
1개의 변경된 파일14개의 추가작업 그리고 0개의 파일을 삭제
  1. +14
    -0
      Dockerfile

+ 14
- 0
Dockerfile 파일 보기

@@ -0,0 +1,14 @@
FROM node:18-buster-slim

RUN npm install -g http-server

WORKDIR /src

COPY . .

RUN npm install

RUN npm run build

EXPOSE 8080
CMD [ "http-server", "dist" ]

불러오는 중...
취소
저장