container: fully qualify image tags (i.e. add docker.io/) in Dockerfile

This commit is contained in:
naskya 2024-02-08 00:08:35 +09:00
parent 037a0016e9
commit 8a693c9970
No known key found for this signature in database
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:20-slim as build FROM docker.io/node:20-slim as build
WORKDIR /firefish WORKDIR /firefish
# Install compilation dependencies # Install compilation dependencies
@ -45,7 +45,7 @@ RUN env NODE_ENV=production sh -c "pnpm run --filter '!native-utils' build && pn
RUN pnpm i --prod --frozen-lockfile RUN pnpm i --prod --frozen-lockfile
## Runtime container ## Runtime container
FROM node:20-slim FROM docker.io/node:20-slim
WORKDIR /firefish WORKDIR /firefish
# Install runtime dependencies # Install runtime dependencies