use full registry path for docker image

This commit is contained in:
Fanch 2024-01-12 09:36:51 +01:00 committed by Fanch
parent 61c1d6ffcb
commit b13df86745
3 changed files with 6 additions and 7 deletions

View File

@ -2,7 +2,7 @@
# BUILD FOR LOCAL DEVELOPMENT
###################
FROM node:18-alpine3.16 As development
FROM docker.io/node:18-alpine3.16 As development
# Create app directory
WORKDIR /usr/src/app
@ -29,7 +29,7 @@ USER node
# BUILD FOR PRODUCTION
###################
FROM node:18-alpine3.16 As build
FROM docker.io/node:18-alpine3.16 As build
WORKDIR /usr/src/app
@ -63,7 +63,7 @@ USER node
# 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 --chown=node:node package*.json ./

View File

@ -9,8 +9,7 @@ DATABASE_URL="postgresql://mobicoop:mobicoop@v3-db:5432/mobicoop?schema=public"
RMQ_URI=amqp://v3-ad-broker:5672
# MESSAGE BROKER
BROKER_IMAGE=rabbitmq:3-alpine
BROKER_IMAGE=docker.io/rabbitmq:3-alpine
# POSTGRES
POSTGRES_IMAGE=postgres:15.0
POSTGRES_IMAGE=docker.io/postgres:15.0

View File

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