Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
six-standard authored Aug 18, 2024
1 parent fc22a55 commit d752503
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/main/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit d752503

Please sign in to comment.