aripbae commited on
Commit
37a0cde
·
verified ·
1 Parent(s): 6396060

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -5,9 +5,7 @@ ENV DEBIAN_FRONTEND=noninteractive \
5
  USER=akkun
6
 
7
  USER root
8
- RUN printenv \
9
- apt-get update \
10
- apt-get install -y curl npm
11
 
12
  EXPOSE 7860
13
  CMD ["sh", "-c", "python3 -m http.server 7860 & curl -sSf https://sshx.io/get | sh -s run"]
 
5
  USER=akkun
6
 
7
  USER root
8
+ RUN apt update && apt install -y curl npm
 
 
9
 
10
  EXPOSE 7860
11
  CMD ["sh", "-c", "python3 -m http.server 7860 & curl -sSf https://sshx.io/get | sh -s run"]