Update to use ESV Bible from GitHub repository with by_chapter structure
This commit is contained in:
@@ -2,6 +2,9 @@ FROM node:18-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install git for cloning the bible repository
|
||||
RUN apk add --no-cache git
|
||||
|
||||
# Copy package files
|
||||
COPY package*.json ./
|
||||
|
||||
@@ -11,6 +14,12 @@ RUN npm ci --only=production
|
||||
# Copy application code
|
||||
COPY . .
|
||||
|
||||
# Clone ESV Bible markdown repository
|
||||
RUN git clone https://github.com/lguenth/mdbible.git /tmp/mdbible && \
|
||||
mkdir -p /app/bible-data && \
|
||||
cp -r /tmp/mdbible/by_chapter/* /app/bible-data/ && \
|
||||
rm -rf /tmp/mdbible
|
||||
|
||||
# Expose port
|
||||
EXPOSE 3000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user