docker: fully qualify image tags in Dockerfile (i.e. add docker.io in front of tags)

This commit is contained in:
naskya 2024-01-06 08:07:11 +09:00
parent 01a1a58fa3
commit 7ce992956a
Signed by: naskya
GPG key ID: 712D413B3A9FED5C

View file

@ -1,5 +1,5 @@
## Install dev and compilation dependencies, build files ## Install dev and compilation dependencies, build files
FROM node:21-slim as build FROM docker.io/node:21-slim as build
WORKDIR /firefish WORKDIR /firefish
# Install compilation dependencies # Install compilation dependencies
@ -56,7 +56,7 @@ RUN env NODE_ENV=production sh -c "pnpm run --filter '!native-utils' build && pn
RUN pnpm install --prod --frozen-lockfile RUN pnpm install --prod --frozen-lockfile
## Runtime container ## Runtime container
FROM node:21-slim FROM docker.io/node:21-slim
WORKDIR /firefish WORKDIR /firefish
# Install runtime dependencies # Install runtime dependencies