1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2024-11-25 17:27:29 +00:00
bibliogram/Dockerfile
2020-07-08 18:12:44 +12:00

13 lines
274 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
EXPOSE 10407
CMD ["npm", "start"]