Create Dockerfile
Browse files- Dockerfile +20 -0
Dockerfile
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM kasmweb/brave:1.14.0
|
2 |
+
|
3 |
+
# Set environment variables if needed
|
4 |
+
ENV HOME /home/kasm-user
|
5 |
+
|
6 |
+
# We need to set the host to 0.0.0.0 to allow outside access
|
7 |
+
ENV HOST 0.0.0.0
|
8 |
+
|
9 |
+
WORKDIR $HOME
|
10 |
+
|
11 |
+
# Copy the application code
|
12 |
+
COPY . .
|
13 |
+
|
14 |
+
RUN --rm -it --shm-size=512m -p 6901:6901 -e VNC_PW=password kasmweb/brave:1.14.0
|
15 |
+
|
16 |
+
# Expose port 7860 for the application
|
17 |
+
EXPOSE 7860
|
18 |
+
|
19 |
+
# Set the command to run Brave browser
|
20 |
+
CMD ["/usr/bin/brave-browser", "--no-sandbox", "--user-data-dir=/data"]
|