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 610c385 commit 85c581e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/main/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,23 @@ RUN corepack enable && corepack prepare [email protected] --activate
RUN curl -L -o ../repo.zip https://github.com/DSM-Repo/repo/archive/main.zip && \
unzip ../repo.zip -d /
WORKDIR /repo-main
RUN yarn install --immutable

ARG VITE_APP_BASE_URL
ENV VITE_APP_BASE_URL=${VITE_APP_BASE_URL}

ARG VITE_APP_URL_MAIN
ENV VITE_APP_URL_MAIN=${VITE_APP_URL_MAIN}

ARG VITE_APP_URL_STUDENT
ENV VITE_APP_URL_STUDENT=${VITE_APP_URL_STUDENT}

ARG VITE_APP_URL_TEACHER
ENV VITE_APP_URL_TEACHER=${VITE_APP_URL_TEACHER}

ENV YARN_ENABLE_IMMUTABLE_INSTALLS=false

RUN yarn install --immutable

WORKDIR /repo-main/packages/main
RUN yarn build

Expand Down

0 comments on commit 85c581e

Please sign in to comment.