mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2024-10-31 21:47:29 +00:00
13 lines
274 B
Docker
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"]
|