Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

Commit f7b05d9

Browse files
authored
Merge pull request #165 from DSpotDevelopers/feat/538-preserve-agpl-license-text-copyright-notices
chore: update project references from Gauzy to DSpot ERP
2 parents c7379bc + adecda4 commit f7b05d9

18 files changed

Lines changed: 56 additions & 18 deletions

File tree

.deploy/api/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ ARG MIKRO_ORM_ALLOW_GLOBAL_CONTEXT
107107
FROM ${DEPENDENCIES_IMAGE:-"no-image"}:latest-api-dev AS builder
108108

109109
LABEL maintainer="info@dspot.com.pl"
110-
LABEL org.opencontainers.image.source="https://github.com/DSpotDevelopers/gauzy"
110+
LABEL org.opencontainers.image.source="https://github.com/DSpotDevelopers/DSpot-ERP"
111111

112112
ARG NODE_ENV
113113
ARG DEMO
@@ -159,6 +159,9 @@ RUN rm -rf ./node_modules/@gauzy \
159159
&& mv "./node_modules/@gauzy/plugin-sentry-tracing" "./node_modules/@gauzy/plugin-sentry" \
160160
&& cp -r ./seed/* ./apps/api/public
161161

162+
# AGPL-3.0 compliance: explicitly include license, attribution, and modification notice files
163+
COPY --chown=node:node LICENSE LICENSES.md CREDITS.md CHANGELOG.md README.md ./
164+
162165
# Copy the entrypoint scripts
163166
COPY --chmod=755 wait .deploy/api/entrypoint.prod.sh .deploy/api/entrypoint.compose.sh ./
164167

.deploy/api/Dockerfile.dockerignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ docker-compose*.yml
2121
.travis.yml
2222
greenkeeper.json
2323
**/*.md
24+
# AGPL-3.0 compliance: preserve license and attribution files in Docker images
25+
!LICENSE*
26+
!LICENSES.md
27+
!CREDITS.md
28+
!CHANGELOG.md
29+
!README.md
2430
**/*.cmd
2531
**/*.log
2632
Jenkinsfile

.deploy/code-analysis/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Gauzy image to run code analysis
1+
# DSpot ERP image to run code analysis
22

33
ARG DEPENDENCIES_IMAGE
44

.deploy/code-analysis/Dockerfile.dockerignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ docker-compose*.yml
2828
.travis.yml
2929
greenkeeper.json
3030
**/*.md
31+
# AGPL-3.0 compliance: preserve license and attribution files in Docker images
32+
!LICENSE*
33+
!LICENSES.md
34+
!CREDITS.md
35+
!CHANGELOG.md
36+
!README.md
3137
**/*.cmd
3238
**/*.log
3339
Jenkinsfile

.deploy/dependencies/api/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Gauzy API dependencies image
1+
# DSpot ERP API dependencies image
22

33
ARG ENVIRONMENT=development
44

@@ -43,4 +43,5 @@ RUN if [ "$ENVIRONMENT" = "production" ]; then \
4343
&& rm -rf node_modules/@angular* \
4444
&& rm -rf node_modules/angular* \
4545
&& rm -rf .angular \
46-
&& yarn cache clean
46+
&& yarn cache clean \
47+
&& rm -rf apps/ packages/ dist/ .scripts/ tools/

.deploy/dependencies/api/Dockerfile.dockerignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ docker-compose*.yml
2828
.travis.yml
2929
greenkeeper.json
3030
**/*.md
31+
# AGPL-3.0 compliance: preserve license and attribution files in Docker images
32+
!LICENSE*
33+
!LICENSES.md
34+
!CREDITS.md
35+
!CHANGELOG.md
36+
!README.md
3137
**/*.cmd
3238
**/*.log
3339
Jenkinsfile

.deploy/dependencies/webapp/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Gauzy dependencies image
1+
# DSpot ERP dependencies image
22

33
FROM node:20.11.1-alpine3.19 AS gauzy-webapp-deps
44

@@ -32,4 +32,5 @@ RUN NODE_ENV=development yarn install \
3232
&& rm -rf node_modules/passport* \
3333
&& rm -rf node_modules/apollo-server* \
3434
&& rm -rf .angular \
35-
&& yarn cache clean
35+
&& yarn cache clean \
36+
&& rm -rf apps/ packages/ dist/ .scripts/ tools/

.deploy/dependencies/webapp/Dockerfile.dockerignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ docker-compose*.yml
2828
.travis.yml
2929
greenkeeper.json
3030
**/*.md
31+
# AGPL-3.0 compliance: preserve license and attribution files in Docker images
32+
!LICENSE*
33+
!LICENSES.md
34+
!CREDITS.md
35+
!CHANGELOG.md
36+
!README.md
3137
**/*.cmd
3238
**/*.log
3339
Jenkinsfile

.deploy/webapp/Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ ARG EXTENSION_DOWNLOAD_LINK
5959
FROM ${DEPENDENCIES_IMAGE:-"no-image"} AS builder
6060

6161
LABEL maintainer="info@dspot.com.pl"
62-
LABEL org.opencontainers.image.source="https://github.com/DSpotDevelopers/gauzy"
62+
LABEL org.opencontainers.image.source="https://github.com/DSpotDevelopers/DSpot-ERP"
6363

6464
# We make NODE_ENV and other env vars passed as build argument to be available in this stage
6565
ARG NODE_ENV
@@ -87,11 +87,14 @@ FROM nginx:alpine AS production
8787

8888
WORKDIR /srv/gauzy
8989

90-
# Copy the built API items and prepare dependencies
90+
# Copy the built webapp and prepare dependencies
9191
COPY --chown=nginx:nginx .deploy/webapp/nginx.compose.conf /etc/nginx/conf.d/compose.conf.template
9292
COPY --chown=nginx:nginx .deploy/webapp/nginx.prod.conf /etc/nginx/conf.d/prod.conf.template
9393
COPY --chown=nginx:nginx --from=builder /srv/gauzy/dist/apps/gauzy .
9494

95+
# AGPL-3.0 compliance: include license, attribution, and modification notice files
96+
COPY --chown=nginx:nginx LICENSE LICENSES.md CREDITS.md CHANGELOG.md README.md ./
97+
9598
# Copy the entrypoint scripts
9699
COPY --chown=nginx:nginx --chmod=755 wait .deploy/webapp/entrypoint.compose.sh .deploy/webapp/entrypoint.prod.sh .deploy/webapp/replacements.sed ./
97100

@@ -133,7 +136,7 @@ ENV CI=true \
133136
FILE_PROVIDER=${FILE_PROVIDER:-"LOCAL"} \
134137
PLATFORM_PRIVACY_URL=${PLATFORM_PRIVACY_URL:-"https://gauzy.co/privacy"} \
135138
PLATFORM_TOS_URL=${PLATFORM_TOS_URL:-"https://gauzy.co/tos"} \
136-
PROJECT_REPO=${PROJECT_REPO:-"https://github.com/DSpotDevelopers/gauzy"} \
139+
PROJECT_REPO=${PROJECT_REPO:-"https://github.com/DSpotDevelopers/DSpot-ERP"} \
137140
I18N_FILES_URL=${I18N_FILES_URL} \
138141
COMPANY_NAME=${COMPANY_NAME:-"DSpot sp. z o.o."} \
139142
COMPANY_LINK=${COMPANY_LINK:-"https://www.dspot.com.pl"} \

.deploy/webapp/Dockerfile.dockerignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ docker-compose*.yml
2121
.travis.yml
2222
greenkeeper.json
2323
**/*.md
24+
# AGPL-3.0 compliance: preserve license and attribution files in Docker images
25+
!LICENSE*
26+
!LICENSES.md
27+
!CREDITS.md
28+
!CHANGELOG.md
29+
!README.md
2430
**/*.cmd
2531
**/*.log
2632
Jenkinsfile

0 commit comments

Comments
 (0)