Files
lifeRestart/Dockerfile
Jiang 066f1fd060 support build docker images (#358)
* add docker build file

* add host to avoid host check error

* Revert "add host to avoid host check error"

This reverts commit a0b8507895.
2021-12-10 17:38:45 +08:00

16 lines
153 B
Docker

FROM node:alpine
ENV NPM_CONFIG_LOGLEVEL info
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 8080
CMD ["yarn", "dev"]