docker ps -a # Список всех контейнеров
docker image ls # Список образов
registry.example.com/image:tag
и запускаете как раньше. FROM --platform=linux/amd64 node:18.0.0
# FROM node:18
WORKDIR /app
COPY package.json .
RUN npm install
COPY . .
EXPOSE 3000
CMD ["npm", "run", "start"]
...
services:
app:
image: cr.yandex/***/***
build:
context: ./
depends_on:
- db
ports:
- "3000:3000"
environment:
DB_HOSTNAME: db
DB_USERNAME: postgres
DB_PASSWORD: postgres
DB_NAME: postgres
links:
- db
volumes:
- ./:/app
networks:
- awesome
...