Skip to content

Commit

Permalink
fix(docker): update Dockerfile
Browse files Browse the repository at this point in the history
use node image for base image instead of alpine
  • Loading branch information
mapleeit committed Mar 14, 2019
1 parent a69b476 commit c572721
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit c572721

Please sign in to comment.