FROM kasmweb/brave:1.14.0 # Set environment variables if needed ENV HOME /home/kasm-user # We need to set the host to 0.0.0.0 to allow outside access ENV HOST 0.0.0.0 WORKDIR $HOME # Copy the application code COPY . . # RUN --rm -it --shm-size=512m -p 6901:6901 -e VNC_PW=password kasmweb/brave:1.14.0 # Expose port 7860 for the application EXPOSE 7860 # Set the command to run Brave browser CMD ["/usr/bin/brave-browser", "--no-sandbox", "--user-data-dir=/data"]