Browse Source

build(Dockerfile): use fully qualified image name

Improves compatibility with podman, etc.

Resolves #275
gitouche 3 năm trước cách đây
mục cha
commit
aee4da1c9b
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      Dockerfile

+ 2 - 2
Dockerfile

@@ -1,4 +1,4 @@
-FROM node:18.13.0 as build
+FROM docker.io/library/node:18.13.0 as build
 RUN mkdir /peer-server
 WORKDIR /peer-server
 COPY package.json package-lock.json ./
@@ -7,7 +7,7 @@ COPY . ./
 RUN npm run build
 RUN npm run test
 
-FROM node:18.13.0-alpine as production
+FROM docker.io/library/node:18.13.0-alpine as production
 RUN mkdir /peer-server
 WORKDIR /peer-server
 COPY package.json package-lock.json ./