shashwatIDR commited on
Commit
cb65b84
·
verified ·
1 Parent(s): ca1a028

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -10
Dockerfile CHANGED
@@ -6,19 +6,14 @@ RUN sudo apt-get update && \
6
  curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - && \
7
  sudo apt-get install -y nodejs
8
 
9
- # Setup working directory
10
- WORKDIR /home/coder/project
11
 
12
- # Add your files
13
- COPY . /home/coder/project
14
-
15
- # Install Python requirements if any
16
- RUN pip3 install -r requirements.txt || true
17
-
18
- # Set password (optional)
19
  ENV PASSWORD=hfspace
20
 
21
- # Expose for HF Spaces
22
  EXPOSE 7860
23
 
 
24
  CMD ["code-server", "--bind-addr", "0.0.0.0:7860", "."]
 
6
  curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - && \
7
  sudo apt-get install -y nodejs
8
 
9
+ # Create working folder
10
+ WORKDIR /home/coder/animesh
11
 
12
+ # Set default password for VS Code in browser
 
 
 
 
 
 
13
  ENV PASSWORD=hfspace
14
 
15
+ # Expose port for Hugging Face Spaces
16
  EXPOSE 7860
17
 
18
+ # Launch VS Code server
19
  CMD ["code-server", "--bind-addr", "0.0.0.0:7860", "."]