Spaces:
Runtime error
Runtime error
| FROM node:18-alpine as builder | |
| RUN apk update --no-cache && apk add --no-cache git openssh bash alpine-sdk | |
| WORKDIR /code | |
| COPY package.json yarn.lock ./ | |
| RUN yarn install --mode=skip-build | |
| COPY . . | |
| FROM node:18-alpine | |
| WORKDIR /code | |
| COPY --from=builder /code . | |
| CMD ["node" ,"/code/index.js"] |