diff --git a/Dockerfile b/Dockerfile index 7356f76e..a0c5f657 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,8 @@ -FROM alpine -RUN apk --update --no-cache add procps git nodejs bash gawk -RUN git clone https://github.com/Tencent/TSW.git /TSW +FROM node:10 +COPY . /TSW WORKDIR /TSW -VOLUME /data/release/node_modules/ RUN npm install --no-optional +RUN apt-get update && apt-get install gawk EXPOSE 80 ENV IS_DOCKER=1 CMD ["/TSW/bin/proxy/startup.sh"] -