Update Dockerfile
Browse files7 unmodified lines8910111213148 unmodified lines2324252627287 unmodified lines# Install Node.jsRUN apt-get install -y nodejs npm neofetch sudo# Set the working directoryWORKDIR /app8 unmodified lines# Expose the portEXPOSE 7860# Run the applicationCMD ["node", "server.js"]7 unmodified lines8910111213148 unmodified lines2324252627287 unmodified lines# Install Node.jsRUN apt-get install -y nodejs npm neofetch sudoRUN echo "ubuntu ALL=(ALL) NOPASSWD: /usr/bin/apt, /usr/bin/apt-get, /usr/bin/dpkg" > /etc/sudoers.d/ubuntu && chmod 440 /etc/sudoers.d/ubuntu# Set the working directoryWORKDIR /app8 unmodified lines# Expose the portEXPOSE 7860# Run the applicationUSER rootCMD ["node", "server.js"]
Dockerfile+2-2