-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
610c385
commit 85c581e
Showing
1 changed file
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
|