Commit 30d8ee72 authored by ganjingcun's avatar ganjingcun

docker file

parent a2734daf
...@@ -3,6 +3,7 @@ RUN mkdir -p /usr/src/app ...@@ -3,6 +3,7 @@ RUN mkdir -p /usr/src/app
HEALTHCHECK --interval=30s --timeout=3s --retries=3 CMD curl -fs http://localhost:3000/ || exit 1 HEALTHCHECK --interval=30s --timeout=3s --retries=3 CMD curl -fs http://localhost:3000/ || exit 1
WORKDIR /usr/src/app WORKDIR /usr/src/app
COPY package.json /usr/src/app/ COPY package.json /usr/src/app/
RUN npm cache clean
RUN npm install RUN npm install
COPY . /usr/src/app COPY . /usr/src/app
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment