mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-06-22 15:35:03 +00:00
19 lines
262 B
Docker
19 lines
262 B
Docker
# Use an existing image as a base
|
|
FROM node:22.2.0-alpine
|
|
|
|
RUN apk add --no-cache git
|
|
|
|
WORKDIR /app
|
|
|
|
ENV NODE_ENV production
|
|
|
|
COPY package*.json ./
|
|
RUN npm ci --legacy-peer-deps
|
|
|
|
COPY ./dist ./dist
|
|
|
|
RUN apk del git
|
|
|
|
EXPOSE 8000
|
|
|
|
CMD [ "node", "./dist/index.js" ] |