Files
code-review/Dockerfile
T

17 lines
300 B
Docker

FROM alpine
RUN apk add --no-cache bash nodejs npm git \
&& node --version \
&& npm --version \
&& git --version
WORKDIR /action
COPY app/ /action/app/
COPY entrypoint.sh /entrypoint.sh
RUN cd /action/app && npm install && \
chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]