Reorganize project structure with backend/ and frontend/ directories

This commit is contained in:
Ryderjj89
2025-09-13 12:14:01 -04:00
parent 84f1dfaf23
commit 13c93879c0
6 changed files with 130 additions and 26 deletions

27
backend/Dockerfile Normal file
View File

@@ -0,0 +1,27 @@
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 ./
# Install dependencies
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
# Start the application
CMD ["npm", "start"]