generated from amosproj/amos202Xss0Y-projname
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
code cleanup, added same functionality for frontend for company and tax
- Loading branch information
Showing
5 changed files
with
70 additions
and
40 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
25 changes: 25 additions & 0 deletions
25
src/frontend_socket/international-dataspace-station/company_frontend.Dockerfile
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,25 @@ | ||
FROM node:22-alpine | ||
|
||
USER root | ||
|
||
RUN mkdir -p /amos/node_modules && chown -R node:node /amos | ||
|
||
WORKDIR /amos | ||
|
||
COPY --chown=node:node . . | ||
|
||
RUN apk update | ||
RUN apk add --no-cache curl jq | ||
|
||
COPY frontend_socket/international-dataspace-station/package.json ./package.json | ||
COPY frontend_socket/international-dataspace-station/package-lock.json ./ | ||
RUN --mount=type=cache,target=/root/.npm npm ci | ||
COPY . . | ||
|
||
COPY --chown=node:node frontend_socket/international-dataspace-station/. . | ||
|
||
RUN npm install --loglevel verbose | ||
|
||
EXPOSE 3001 | ||
|
||
CMD [ "sh", "-c", "PORT=3001 npm run dev" ] |
33 changes: 0 additions & 33 deletions
33
src/frontend_socket/international-dataspace-station/package_bank.json
This file was deleted.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
src/frontend_socket/international-dataspace-station/tax_advisor_frontend.Dockerfile
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,25 @@ | ||
FROM node:22-alpine | ||
|
||
USER root | ||
|
||
RUN mkdir -p /amos/node_modules && chown -R node:node /amos | ||
|
||
WORKDIR /amos | ||
|
||
COPY --chown=node:node . . | ||
|
||
RUN apk update | ||
RUN apk add --no-cache curl jq | ||
|
||
COPY frontend_socket/international-dataspace-station/package.json ./package.json | ||
COPY frontend_socket/international-dataspace-station/package-lock.json ./ | ||
RUN --mount=type=cache,target=/root/.npm npm ci | ||
COPY . . | ||
|
||
COPY --chown=node:node frontend_socket/international-dataspace-station/. . | ||
|
||
RUN npm install --loglevel verbose | ||
|
||
EXPOSE 3002 | ||
|
||
CMD [ "sh", "-c", "PORT=3002 npm run dev" ] |