1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2024-11-23 00:27:30 +00:00
bibliogram/Dockerfile

13 lines
274 B
Docker
Raw Normal View History

2020-07-08 06:12:44 +00:00
FROM node:14.5.0-alpine as build
2020-06-18 13:49:49 +00:00
RUN apk --no-cache add git python3 make g++
WORKDIR /app
COPY . .
2020-07-08 06:12:44 +00:00
COPY ./.config.js.default ./config.js
2020-06-18 13:49:49 +00:00
RUN npm install --no-optional
2020-06-24 10:09:00 +00:00
2020-07-08 06:12:44 +00:00
FROM node:14.5.0-alpine as app
2020-06-24 10:09:00 +00:00
WORKDIR /app
COPY --from=build /app /app
2020-06-18 13:49:49 +00:00
EXPOSE 10407
CMD ["npm", "start"]