14 lines
159 B
Docker
14 lines
159 B
Docker
|
FROM node:16-alpine
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
COPY package.json .
|
||
|
|
||
|
RUN npm install
|
||
|
|
||
|
COPY . .
|
||
|
|
||
|
EXPOSE 3000
|
||
|
# required for docker desktop port mapping
|
||
|
|
||
|
CMD ["npm", "start"]
|