mirror of
https://github.com/jambonz/jambonz-api-server.git
synced 2025-12-19 05:47:46 +00:00
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE316-OPENSSL-3314623 - https://snyk.io/vuln/SNYK-ALPINE316-OPENSSL-3314624 - https://snyk.io/vuln/SNYK-ALPINE316-OPENSSL-3314624 - https://snyk.io/vuln/SNYK-ALPINE316-OPENSSL-3314641 - https://snyk.io/vuln/SNYK-ALPINE316-OPENSSL-3314643
23 lines
343 B
Docker
23 lines
343 B
Docker
FROM --platform=linux/amd64 node:18-alpine3.16 as base
|
|
|
|
RUN apk --update --no-cache add --virtual .builds-deps build-base python3
|
|
|
|
WORKDIR /opt/app/
|
|
|
|
FROM base as build
|
|
|
|
COPY package.json package-lock.json ./
|
|
|
|
RUN npm ci
|
|
|
|
COPY . .
|
|
|
|
FROM base
|
|
|
|
COPY --from=build /opt/app /opt/app/
|
|
|
|
ARG NODE_ENV
|
|
|
|
ENV NODE_ENV $NODE_ENV
|
|
|
|
CMD [ "node", "app.js" ] |