mirror of
https://github.com/VickScarlet/lifeRestart.git
synced 2025-07-14 16:22:38 +08:00
* add docker build file
* add host to avoid host check error
* Revert "add host to avoid host check error"
This reverts commit a0b8507895
.
16 lines
153 B
Docker
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"]
|
|
|