feat: initialize backend service with Express, SQLite logging, and API utilities
Deploy Backendia / deploy (push) Successful in 5m0s
Deploy Backendia / deploy (push) Successful in 5m0s
This commit is contained in:
@@ -10,10 +10,16 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm ci --omit=dev && npm rebuild sqlite3 --build-from-source
|
||||
COPY dashboard/package*.json ./dashboard/
|
||||
|
||||
RUN npm install && npm rebuild sqlite3 --build-from-source
|
||||
RUN cd dashboard && npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
# Build du Dashboard Next.js
|
||||
RUN cd dashboard && npm run build
|
||||
|
||||
# Dossiers nécessaires
|
||||
RUN mkdir -p uploads/images uploads/data exports
|
||||
|
||||
|
||||
Reference in New Issue
Block a user