mirror of
https://github.com/BreizhHardware/Jellystat.git
synced 2026-01-18 16:27:20 +01:00
This is to assist in the ongoing sync issues by allowing you to export any missing data for inspection
22 lines
312 B
Plaintext
22 lines
312 B
Plaintext
# Stage 1: Build the application
|
|
FROM arm32v7/node:14 AS builder
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package*.json ./
|
|
RUN npm cache clean --force
|
|
RUN npm install
|
|
|
|
COPY ./ ./
|
|
|
|
# Stage 2: Create the production image
|
|
FROM arm32v7/node:14-slim
|
|
|
|
WORKDIR /app
|
|
|
|
COPY --from=builder /app .
|
|
|
|
EXPOSE 3000
|
|
|
|
CMD ["npm", "run", "start-app"]
|