Ufoptg commited on
Commit
5cdfb43
1 Parent(s): bf4a552

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -6
Dockerfile CHANGED
@@ -15,23 +15,23 @@ RUN apt-get update && \
15
  rm -rf /var/lib/apt/lists/*
16
 
17
  # Copy requirements and install them
18
- COPY ./reqs.txt /Hellbot/reqs.txt
19
- RUN pip3 install --no-cache-dir -U -r /Hellbot/reqs.txt
20
 
21
  # Set working directory
22
- WORKDIR /Hellbot
23
 
24
  # Copy the application code
25
  COPY . .
26
 
27
  # Set appropriate permissions
28
- RUN chown -R 1000:0 /Hellbot \
29
  && chown -R 1000:0 . \
30
  && chmod 777 . \
31
  && chmod 777 /usr \
32
  && chown -R 1000:0 /usr \
33
- && chmod -R 755 /Hellbot \
34
- && chmod +x /Hellbot/start.sh
35
 
36
  # Expose port
37
  EXPOSE 7860
 
15
  rm -rf /var/lib/apt/lists/*
16
 
17
  # Copy requirements and install them
18
+ COPY ./reqs.txt /HellBot/reqs.txt
19
+ RUN pip3 install --no-cache-dir -U -r /HellBot/reqs.txt
20
 
21
  # Set working directory
22
+ WORKDIR /HellBot
23
 
24
  # Copy the application code
25
  COPY . .
26
 
27
  # Set appropriate permissions
28
+ RUN chown -R 1000:0 /HellBot \
29
  && chown -R 1000:0 . \
30
  && chmod 777 . \
31
  && chmod 777 /usr \
32
  && chown -R 1000:0 /usr \
33
+ && chmod -R 755 /HellBot \
34
+ && chmod +x /HellBot/start.sh
35
 
36
  # Expose port
37
  EXPOSE 7860