15 lines
142 B
Docker
15 lines
142 B
Docker
|
FROM node:12-alpine
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
COPY package.json package.json
|
||
|
|
||
|
RUN npm install
|
||
|
|
||
|
COPY . .
|
||
|
|
||
|
ENV PORT=8080
|
||
|
|
||
|
EXPOSE 8080
|
||
|
|
||
|
CMD ["npm", "start"]
|