use full registry path for docker image

This commit is contained in:
Fanch 2024-01-11 16:51:45 +01:00 committed by Fanch
parent 5a5f1172a4
commit 42e1c854b0
3 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
# BUILD FOR LOCAL DEVELOPMENT # BUILD FOR LOCAL DEVELOPMENT
################### ###################
FROM node:18-alpine3.16 As development FROM docker.io/node:18-alpine3.16 As development
# Create app directory # Create app directory
WORKDIR /usr/src/app WORKDIR /usr/src/app
@ -25,7 +25,7 @@ USER node
# BUILD FOR PRODUCTION # BUILD FOR PRODUCTION
################### ###################
FROM node:18-alpine3.16 As build FROM docker.io/node:18-alpine3.16 As build
WORKDIR /usr/src/app WORKDIR /usr/src/app
@ -56,7 +56,7 @@ USER node
# PRODUCTION # PRODUCTION
################### ###################
FROM node:18-alpine3.16 As production FROM docker.io/node:18-alpine3.16 As production
# Copy package.json to be able to execute migration command # Copy package.json to be able to execute migration command
COPY --chown=node:node package*.json ./ COPY --chown=node:node package*.json ./

View File

@ -3,5 +3,5 @@ SERVICE_URL=0.0.0.0
SERVICE_PORT=5003 SERVICE_PORT=5003
# REDIS # REDIS
REDIS_IMAGE=redis:7.0-alpine REDIS_IMAGE=docker.io/redis:7.0-alpine
REDIS_PASSWORD=redis REDIS_PASSWORD=redis

View File

@ -2,7 +2,7 @@
# BUILD FOR CI TESTING # BUILD FOR CI TESTING
################### ###################
FROM node:18-alpine3.16 FROM docker.io/node:18-alpine3.16
# Create app directory # Create app directory
WORKDIR /usr/src/app WORKDIR /usr/src/app