13 lines
163 B
Docker
13 lines
163 B
Docker
FROM node:16-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package.json .
|
|
|
|
RUN npm i
|
|
|
|
RUN mkdir node_modules/.cache && chmod -R 777 node_modules/.cache
|
|
|
|
COPY . .
|
|
|
|
CMD ["npm","start"] |