Skip to content

Commit

Permalink
temporary lock node to v18
Browse files Browse the repository at this point in the history
  • Loading branch information
ahaenggli committed Jan 12, 2024
1 parent 0307d11 commit 1679395
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Docker_build_DEV.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ pause
REM multiarch-dev
echo "Build DEV as multiarch"
pause
docker buildx build --no-cache --push --platform linux/amd64,linux/arm64/v8,linux/arm/v7 -t ahaen/azuread-ldap-wrapper:dev .
REM docker buildx build --no-cache --push -t ahaen/azuread-ldap-wrapper:dev --platform linux/amd64,linux/arm64/v8,linux/arm/v7 .
docker buildx build --no-cache --push -t ahaen/azuread-ldap-wrapper:dev --platform linux/amd64,linux/arm64,linux/ppc64le,linux/s390x,linux/arm/v8,linux/arm/v7,linux/arm/v6 .
pause
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
FROM node:lts-alpine as build
FROM node:18-alpine as build

ENV NODE_ENV="production"

RUN mkdir -p /app && chown -R node:node /app
WORKDIR /app
COPY . .

RUN npm install --production && npm prune --production
RUN npm install --omit=dev && npm prune --omit=dev

FROM node:lts-alpine as final
FROM node:18-alpine as final
RUN apk add --no-cache tini su-exec

ENV NODE_ENV "production"
Expand Down

0 comments on commit 1679395

Please sign in to comment.