Spaces:
Runtime error
Runtime error
File size: 289 Bytes
5ed7076 0212d59 5ed7076 0212d59 |
1 2 3 4 5 6 7 8 9 10 11 |
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"] |