File size: 471 Bytes
1f68519
 
 
 
 
 
 
 
 
 
 
 
 
841cea8
1f68519
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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"]