mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2024-11-14 12:27:29 +00:00
14 lines
312 B
Docker
14 lines
312 B
Docker
FROM node:14.5.0-alpine as build
|
|
RUN apk --no-cache add git python3 make g++
|
|
WORKDIR /app
|
|
COPY . .
|
|
COPY ./.config.js.default ./config.js
|
|
RUN npm install --no-optional
|
|
|
|
FROM node:14.5.0-alpine as app
|
|
WORKDIR /app
|
|
COPY --from=build /app /app
|
|
RUN apk add --no-cache graphicsmagick
|
|
EXPOSE 10407
|
|
CMD ["npm", "start"]
|