-
Notifications
You must be signed in to change notification settings - Fork 50
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
Showing
6 changed files
with
32 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
target | ||
Dockerfile | ||
dockerfile | ||
browser/node_modules | ||
.dockerignore | ||
.env | ||
.git | ||
**/.temp | ||
.gitignore |
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,4 +1,5 @@ | ||
[workspace] | ||
resolver = "2" | ||
members = [ | ||
"server", | ||
"cli", | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
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,22 +1,27 @@ | ||
VERSION 0.7 | ||
PROJECT applied-knowledge-systems/atomic-server | ||
PROJECT atomicdata-dev/atomic-server | ||
FROM node:latest | ||
WORKDIR browser | ||
|
||
main-pipeline: | ||
PIPELINE --push | ||
TRIGGER push main | ||
TRIGGER pr main | ||
PIPELINE --push | ||
TRIGGER push main | ||
TRIGGER pr main | ||
ARG tag=latest | ||
BUILD +build --tag=$tag | ||
|
||
deps: | ||
RUN curl -f https://get.pnpm.io/v6.14.js | node - add --global pnpm | ||
COPY package.json pnpm-lock.yaml . | ||
# COPY data-browser/package.json data-browser/. | ||
# COPY lib/package.json lib/. | ||
# COPY react/package.json react/. | ||
RUN pnpm recursive install --frozen-lockfile --shamefully-hoist | ||
COPY . . | ||
RUN pnpm install --no-frozen-lockfile | ||
RUN pnpm install | ||
SAVE ARTIFACT node_modules /node_modules | ||
|
||
build: | ||
FROM +deps | ||
RUN pnpm run build | ||
SAVE ARTIFACT dist /dist AS LOCAL dist | ||
SAVE ARTIFACT data-browser/dist data-browser/dist AS LOCAL dist |
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