matrix-art

An image gallery for Matrix
git clone git://archive.git.mtrnord.blog/MTRNord/matrix-art.git
Log | Files | Refs | README | LICENSE

commit 67f74110c0e2babac75801952bd071f513dc6d14
parent 5fab7ea0b32a2ed726bde9b4924959ddf0b466fb
Author: MTRNord <mtrnord1@gmail.com>
Date:   Thu, 20 Jan 2022 20:43:50 +0100

Fix dockerfile typo

Diffstat:
MDockerfile | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Dockerfile b/Dockerfile @@ -1,6 +1,6 @@ # Install dependencies only when needed # Use node:17-slim -FROM sha256:7c6fb786d7a9f38f5c0f0fa4845615c91441ab7406b13c808357b3b53e599bb2 AS deps +FROM node@sha256:7c6fb786d7a9f38f5c0f0fa4845615c91441ab7406b13c808357b3b53e599bb2 AS deps # for some reason the $PATH get lost inside kaniko, if we re-set it by hand it seems to work. ENV PATH="$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" WORKDIR /app @@ -9,7 +9,7 @@ RUN npm ci # Rebuild the source code only when needed # Use node:17-slim -FROM sha256:7c6fb786d7a9f38f5c0f0fa4845615c91441ab7406b13c808357b3b53e599bb2 AS builder +FROM node@sha256:7c6fb786d7a9f38f5c0f0fa4845615c91441ab7406b13c808357b3b53e599bb2 AS builder WORKDIR /app COPY . . COPY --from=deps /app/node_modules ./node_modules @@ -19,7 +19,7 @@ RUN npm run build && npm install --only=production --ignore-scripts --prefer-off # Production image, copy all the files and run next # Use node:17-slim -FROM sha256:7c6fb786d7a9f38f5c0f0fa4845615c91441ab7406b13c808357b3b53e599bb2 AS runner +FROM node@sha256:7c6fb786d7a9f38f5c0f0fa4845615c91441ab7406b13c808357b3b53e599bb2 AS runner WORKDIR /app ENV NODE_ENV production