Optimize build: remove embedded repositories from source and clone during Docker build
This commit is contained in:
@ -6,4 +6,10 @@
|
||||
README.md
|
||||
CHANGELOG.md
|
||||
LICENSE
|
||||
node_modules
|
||||
node_modules
|
||||
ente/
|
||||
keycloak-app/
|
||||
docs/
|
||||
screenshots/
|
||||
*.tar.gz
|
||||
*.tar
|
6
.gitignore
vendored
6
.gitignore
vendored
@ -23,4 +23,8 @@ Thumbs.db
|
||||
*.swo
|
||||
|
||||
# Cloudron
|
||||
.cloudron.manifest
|
||||
.cloudron.manifest
|
||||
|
||||
# Exclude large repositories
|
||||
ente/
|
||||
keycloak-app/
|
@ -12,8 +12,8 @@ RUN mkdir -p /app/code /app/data
|
||||
|
||||
WORKDIR /app/code
|
||||
|
||||
# Clone the ente repository
|
||||
RUN git clone https://github.com/ente-io/ente.git . && \
|
||||
# Clone the ente repository during build (not from local source)
|
||||
RUN git clone --depth=1 https://github.com/ente-io/ente.git . && \
|
||||
cd server && \
|
||||
mkdir -p /app/data/config
|
||||
|
||||
|
1
ente
1
ente
Submodule ente deleted from 1b501025c4
Submodule keycloak-app deleted from aec1a65442
Reference in New Issue
Block a user