Update Dockerfile

This commit is contained in:
Austin Lee 2021-06-13 17:43:38 +08:00 committed by GitHub
parent 44e6fd4b32
commit a62226a739
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,12 +2,9 @@ FROM node:lts-alpine
LABEL maintainer="lizheming <i@imnerd.org>"
RUN apk upgrade --no-cache && apk add --no-cache bash
ENV ROOT /usr/src/app
WORKDIR ${ROOT}
RUN npm install -g coveralls
RUN npm install coveralls
ADD ./entrypoint.sh /bin
RUN chmod +x /bin/entrypoint.sh
ADD ./entrypoint.sh .
RUN chmod +x ./entrypoint.sh
ENTRYPOINT ["/usr/src/app/entrypoint.sh"]
ENTRYPOINT ["entrypoint.sh"]