Skip to content

Commit 9b3b6f8

Browse files
authored
chore : Update Dockerfile
1 parent 3b01690 commit 9b3b6f8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363

6464
FROM node:22-alpine AS base
6565

66-
# Define arguments for environment variables
6766
ARG VITE_SUPABASE_SERVICE_KEY
6867
ARG VITE_KAKAOMAP_KEY
6968
ARG VITE_VISITJEJU_KEY
@@ -75,7 +74,6 @@ WORKDIR /app
7574
COPY package.json yarn.lock ./
7675
RUN yarn install --frozen-lockfile
7776

78-
# Copy source code and set environment variables
7977
COPY . .
8078
ENV VITE_SUPABASE_SERVICE_KEY=$VITE_SUPABASE_SERVICE_KEY
8179
ENV VITE_KAKAOMAP_KEY=$VITE_KAKAOMAP_KEY
@@ -85,10 +83,8 @@ ENV VITE_API_BASE_URL=$VITE_API_BASE_URL
8583
ENV VITE_SUPABASE_BASE_URL=$VITE_SUPABASE_BASE_URL
8684
ENV NODE_ENV=production
8785

88-
# Build the Vite application
8986
RUN yarn build
9087

91-
# Nginx server to serve static files
9288
FROM nginx:stable-alpine AS runner
9389

9490
COPY nginx/nginx.conf /etc/nginx/nginx.conf

0 commit comments

Comments
 (0)