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
|
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/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user