-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docker compose config for root context
- Loading branch information
Showing
6 changed files
with
15 additions
and
28 deletions.
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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,16 +1,21 @@ | ||
FROM node:20.12-alpine | ||
LABEL maintainer "ODL DevOps <[email protected]>" | ||
|
||
COPY . /src | ||
COPY ./package.json /src/package.json | ||
COPY ./yarn.lock /src/yarn.lock | ||
COPY ./.yarn /src/.yarn | ||
COPY ./frontends /src/frontends | ||
|
||
WORKDIR /src | ||
|
||
RUN yarn set version 4.1.1 | ||
RUN yarn install --immutable | ||
RUN yarn install | ||
|
||
# Rebuilds for the case that the lockfile contains platform-specific dependencies | ||
RUN yarn rebuild | ||
|
||
WORKDIR /src/frontends | ||
|
||
RUN yarn build-storybook | ||
|
||
CMD ["yarn", "watch:docker"] |
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.