# Use the official Ubuntu 20.04 LTS image as the base FROM ubuntu:20.04 # Install dependencies RUN apt-get update && \ apt-get install -y curl # Install Node.js RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - && \ apt-get install -y nodejs RUN npm i --omit=dev --no-package-lock USER node COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh # Set the entry point script as the default command ENTRYPOINT ["/entrypoint.sh"]