Optimize build: remove embedded repositories from source and clone during Docker build
This commit is contained in:
@ -7,3 +7,9 @@ README.md
|
|||||||
CHANGELOG.md
|
CHANGELOG.md
|
||||||
LICENSE
|
LICENSE
|
||||||
node_modules
|
node_modules
|
||||||
|
ente/
|
||||||
|
keycloak-app/
|
||||||
|
docs/
|
||||||
|
screenshots/
|
||||||
|
*.tar.gz
|
||||||
|
*.tar
|
4
.gitignore
vendored
4
.gitignore
vendored
@ -24,3 +24,7 @@ Thumbs.db
|
|||||||
|
|
||||||
# Cloudron
|
# 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
|
WORKDIR /app/code
|
||||||
|
|
||||||
# Clone the ente repository
|
# Clone the ente repository during build (not from local source)
|
||||||
RUN git clone https://github.com/ente-io/ente.git . && \
|
RUN git clone --depth=1 https://github.com/ente-io/ente.git . && \
|
||||||
cd server && \
|
cd server && \
|
||||||
mkdir -p /app/data/config
|
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