9 lines
182 B
Docker
9 lines
182 B
Docker
|
# FROM node:latest
|
||
|
FROM alpine as SOURCE
|
||
|
RUN apk add --update nodejs npm
|
||
|
COPY package.json /app/package.json
|
||
|
WORKDIR /app
|
||
|
RUN npm install
|
||
|
COPY . /app
|
||
|
ENTRYPOINT ["node", "index.js"]
|