mushcatshiro
2 년 전
committed by
GitHub
No known key found for this signature in database
GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일과
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" ] |