Update Dockerfile to examine ente repository structure

This commit is contained in:
Andreas Düren 2025-03-14 21:27:55 +01:00
parent d113138975
commit d11f21f13f

View File

@ -8,14 +8,16 @@ RUN apt-get update && \
rm -rf /var/cache/apt /var/lib/apt/lists rm -rf /var/cache/apt /var/lib/apt/lists
# Set up directory structure # Set up directory structure
RUN mkdir -p /app/code /app/data RUN mkdir -p /app/code /app/data/config
WORKDIR /app/code WORKDIR /app/code
# Clone the ente repository during build (not from local source) # Clone the ente repository during build (not from local source)
RUN git clone --depth=1 https://github.com/ente-io/ente.git . && \ RUN git clone --depth=1 https://github.com/ente-io/ente.git . && \
cd server && \ # Check the actual directory structure
mkdir -p /app/data/config ls -la && \
# Find the server directory
find . -name "package.json" | grep server
# Copy configuration and startup scripts # Copy configuration and startup scripts
ADD start.sh /app/pkg/ ADD start.sh /app/pkg/