Commit f212bf82 authored by nanahira's avatar nanahira

fix dockerfile again, and completely remove vim

parent ea046908
Pipeline #1478 passed with stages
in 6 minutes and 31 seconds
FROM node:7.2.1 FROM node:7.2.1
RUN sed -i 's/deb.debian.org/mirrors.tuna.tsinghua.edu.cn/g;s/security.debian.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list && \
apt-get update && \
apt-get install vim -y && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
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/
......
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