ep9io commited on
Commit
5f859a0
·
verified ·
1 Parent(s): 53cb30a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -6
Dockerfile CHANGED
@@ -1,23 +1,20 @@
1
  FROM ghcr.io/ep9io/rustpipe:main
2
 
3
-
4
  ENV RUSTPIPE_LOG=DEBUG
5
- ENV AUTH_TOKENS=abc123
6
  ENV RUSTPIPE_WORKSPACE_DIR=/workspace
7
  ENV RUSTPIPE_DATA_DIR=/data
8
  ENV PORT=7860
9
 
10
  WORKDIR /workspace
11
 
12
-
13
- # Hugging Face Spaces runs as a non-root user (UID 1000).
14
- # The base image already creates a 'rustpipe' user with UID 1000,
15
  # but we ensure the workspace is writable by this user.
16
  USER root
17
  RUN chown -R 1000:1000 /workspace
18
  USER 1000
19
 
20
- # clears the ["/usr/local/bin/rustpipe"] entrypoint from the base image
21
  ENTRYPOINT []
22
 
23
  CMD rustpipe server --bind 0.0.0.0:7860
 
1
  FROM ghcr.io/ep9io/rustpipe:main
2
 
 
3
  ENV RUSTPIPE_LOG=DEBUG
 
4
  ENV RUSTPIPE_WORKSPACE_DIR=/workspace
5
  ENV RUSTPIPE_DATA_DIR=/data
6
  ENV PORT=7860
7
 
8
  WORKDIR /workspace
9
 
10
+ # Hugging Face Spaces runs as a non-root user (UID 1000).
11
+ # The base image already creates a 'rustpipe' user with UID 1000,
 
12
  # but we ensure the workspace is writable by this user.
13
  USER root
14
  RUN chown -R 1000:1000 /workspace
15
  USER 1000
16
 
17
+ # clears the entrypoint from the base image
18
  ENTRYPOINT []
19
 
20
  CMD rustpipe server --bind 0.0.0.0:7860