-
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.
feat(import.js): more envs, seperate configs
- Loading branch information
Gerald Baulig
committed
Feb 21, 2024
1 parent
68c4c9d
commit a3b1e25
Showing
4 changed files
with
46 additions
and
26 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 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,3 @@ | ||
# 0.0.1 | ||
|
||
- Initial image |
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,12 +1,14 @@ | ||
### Base | ||
FROM node:20.8.0-alpine3.18 as base | ||
|
||
ENV DB_IMPORT_ENTRY="http://facade-srv:5000/graphql" | ||
ENV OBJECT_IMPORT_ENDPOINT="http://facade-srv:5000/graphql" | ||
|
||
USER node | ||
ARG APP_HOME=/home/node/data | ||
WORKDIR $APP_HOME | ||
|
||
COPY *json *.js datasets ./ | ||
RUN npm ci | ||
|
||
USER root | ||
USER node | ||
CMD ["sleep", "infinity"] |
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