dwfwfwfwf commited on
Commit
a9064c9
·
verified ·
1 Parent(s): b9db5f8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -7,11 +7,11 @@ WORKDIR /code
7
  # Install curl, a tool for downloading files from URLs
8
  RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
9
 
10
- # Download the requirements.txt file from your specified URL
11
- RUN curl -o requirements.txt https://huggingface.co/dwfwfwfwf/hacking-reverse-powershell-windows/resolve/main/requirements.txt
12
 
13
- # Download the app.py file from your specified URL
14
- RUN curl -o app.py https://huggingface.co/dwfwfwfwf/hacking-reverse-powershell-windows/resolve/main/app.py
15
 
16
  # Install the Python dependencies listed in the downloaded requirements.txt
17
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
 
7
  # Install curl, a tool for downloading files from URLs
8
  RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
9
 
10
+ # Download the requirements.txt file, following any redirects with the -L flag
11
+ RUN curl -L -o requirements.txt https://huggingface.co/dwfwfwfwf/hacking-reverse-powershell-windows/resolve/main/requirements.txt
12
 
13
+ # Download the app.py file, also following redirects
14
+ RUN curl -L -o app.py https://huggingface.co/dwfwfwfwf/hacking-reverse-powershell-windows/resolve/main/app.py
15
 
16
  # Install the Python dependencies listed in the downloaded requirements.txt
17
  RUN pip install --no-cache-dir --upgrade -r requirements.txt