1
0
Fork 1
mirror of https://example.com synced 2024-11-22 07:06:38 +09:00

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
FROM node:21-slim as build
FROM docker.io/node:21-slim as build
WORKDIR /firefish
# 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
## Runtime container
FROM node:21-slim
FROM docker.io/node:21-slim
WORKDIR /firefish
# Install runtime dependencies