8 lines
132 B
Docker
8 lines
132 B
Docker
FROM node:18
|
|
RUN mkdir -p /usr/src/app
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY package.json ./
|
|
RUN npm install
|
|
COPY . .
|
|
CMD [ "node", "main.js" ] |