Skip to content

Commit

Permalink
Create Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Village-GG-Water authored Nov 8, 2024
1 parent a7a443a commit e522ed5
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM node:20.17 AS build

WORKDIR /app

COPY package*.json ./
RUN npm install --force

COPY . .

RUN npm run build

FROM nginx:alpine

COPY --from=build /app/dist /usr/share/nginx/html

# SSL 인증서 경로
RUN mkdir -p /etc/letsencrypt/live/main.kert.space

0 comments on commit e522ed5

Please sign in to comment.