Update Dockerfile to examine ente repository structure
This commit is contained in:
parent
d113138975
commit
d11f21f13f
@ -8,14 +8,16 @@ RUN apt-get update && \
|
||||
rm -rf /var/cache/apt /var/lib/apt/lists
|
||||
|
||||
# Set up directory structure
|
||||
RUN mkdir -p /app/code /app/data
|
||||
RUN mkdir -p /app/code /app/data/config
|
||||
|
||||
WORKDIR /app/code
|
||||
|
||||
# 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
|
||||
# Check the actual directory structure
|
||||
ls -la && \
|
||||
# Find the server directory
|
||||
find . -name "package.json" | grep server
|
||||
|
||||
# Copy configuration and startup scripts
|
||||
ADD start.sh /app/pkg/
|
||||
|
Loading…
x
Reference in New Issue
Block a user