Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
rolljee committed Oct 9, 2023
1 parent f3e6383 commit 59be019
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM kuzzleio/kuzzle-runner:16 as builder
FROM kuzzleio/kuzzle-runner:18 AS builder

ADD . /var/app

Expand All @@ -7,7 +7,7 @@ WORKDIR /var/app
RUN npm ci
RUN npm run build

FROM kuzzleio/kuzzle-runner:16 as prepare
FROM kuzzleio/kuzzle-runner:18 AS prepare

WORKDIR /var/app
ENV NODE_ENV=production
Expand All @@ -16,7 +16,7 @@ COPY --from=builder /var/app/package*.json /var/app/.npmrc* /var/app/dist ./
RUN npm install --production

# Final image
FROM node:16-stretch-slim as production
FROM node:18-stretch-slim AS production

ARG KUZZLE_VAULT_KEY
ENV KUZZLE_VAULT_KEY=$KUZZLE_VAULT_KEY
Expand Down

0 comments on commit 59be019

Please sign in to comment.