Optimize build: remove embedded repositories from source and clone during Docker build
This commit is contained in:
parent
c2faaf16fb
commit
018f455ce8
@ -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
@ -1 +0,0 @@
|
||||
Subproject commit 1b501025c45f50d3bd7c58d1065f2a7335e76322
|
@ -1 +0,0 @@
|
||||
Subproject commit aec1a654420d70287fbdb1e7a7c520d5f1a9a12f
|
Loading…
x
Reference in New Issue
Block a user