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
...
This expression is not callable.
Not all constituents of type 'number | StepFn' are callable.
Type 'number' has no call signatures.
function add(val: number): StepFn | number
This expression is not callable.
Not all constituents of type 'number | StepFn' are callable.
Type 'number' has no call signatures.