blog/Dockerfile

15 lines
165 B
Docker
Raw Normal View History

FROM node:16.17-alpine
2019-12-24 11:37:29 +00:00
RUN apk update && apk add python3 make gcc g++
WORKDIR /app
2019-12-24 11:37:29 +00:00
ADD package.json .
2019-12-24 11:37:29 +00:00
RUN npm install
ADD . .
2019-12-24 11:37:29 +00:00
EXPOSE 8000
CMD ["npm", "start"]