From d75250395ae32a8d7331b781fdbec086123c61d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9C=A1=EA=B8=B0=EC=A4=80?= Date: Mon, 19 Aug 2024 01:46:38 +0900 Subject: [PATCH] Update Dockerfile --- packages/main/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/main/Dockerfile b/packages/main/Dockerfile index c320242e..fab77905 100644 --- a/packages/main/Dockerfile +++ b/packages/main/Dockerfile @@ -5,7 +5,7 @@ RUN apk add --no-cache libc6-compat git curl unzip RUN curl -L -o ../repo.zip https://github.com/DSM-Repo/repo/archive/main.zip && \ unzip repo.zip -d / -RUN cd /repo-main +WORKDIR /repo-main RUN yarn install --immutable @@ -21,7 +21,7 @@ ENV VITE_APP_URL_STUDENT=${VITE_APP_URL_STUDENT} ARG VITE_APP_URL_TEACHER ENV VITE_APP_URL_TEACHER=${VITE_APP_URL_TEACHER} -RUN cd /repo-main/packages/main +WORKDIR /repo-main/packages/main RUN yarn build FROM nginx:alpine AS runner