mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 16:50:39 +00:00
major merge of features from the hosted branch that was created temporarily during the initial launch of jambonz.org
15 lines
378 B
Docker
15 lines
378 B
Docker
FROM node:alpine as builder
|
|
RUN apk update && apk add --no-cache python make g++
|
|
WORKDIR /opt/app/
|
|
COPY package.json ./
|
|
RUN npm install
|
|
RUN npm prune
|
|
|
|
FROM node:alpine as webapp
|
|
RUN apk add curl
|
|
WORKDIR /opt/app
|
|
COPY . /opt/app
|
|
COPY --from=builder /opt/app/node_modules ./node_modules
|
|
COPY ./entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|
|
ENTRYPOINT ["/entrypoint.sh"] |