Skip to content

Commit

Permalink
rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
purerosefallen committed Nov 27, 2020
1 parent 213c9fe commit 5493c4f
Show file tree
Hide file tree
Showing 3 changed files with 537 additions and 645 deletions.
14 changes: 6 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
FROM node:buster-slim
RUN apt-get update && \
apt-get install -y vim python3 build-essential curl && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
ln -sf /usr/bin/python3 /usr/bin/python

FROM node:7.2.1
RUN mkdir -p /usr/src/app
RUN apt-get update
RUN apt-get install vim -y
HEALTHCHECK --interval=30s --timeout=3s --retries=3 CMD curl -fs http://localhost:3000/ || exit 1
WORKDIR /usr/src/app
COPY package*.json /usr/src/app/
COPY package.json /usr/src/app/

RUN npm ci
RUN npm install
COPY . /usr/src/app

# 设置时区
Expand Down
Loading

0 comments on commit 5493c4f

Please sign in to comment.