1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2024-09-21 04:57:29 +00:00
bibliogram/Dockerfile
2020-06-24 12:09:00 +02:00

12 lines
238 B
Docker

FROM node:12.18.1-alpine as build
RUN apk --no-cache add git python3 make g++
WORKDIR /app
COPY . .
RUN npm install --no-optional
FROM node:12.18.1-alpine as app
WORKDIR /app
COPY --from=build /app /app
EXPOSE 10407
CMD ["npm", "start"]