zkwentz commited on
Commit
a09fc27
·
verified ·
1 Parent(s): 7c6691e

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. Dockerfile +4 -8
  2. server/Dockerfile +4 -6
Dockerfile CHANGED
@@ -12,19 +12,15 @@ FROM ghcr.io/meta-pytorch/openenv-base:latest
12
 
13
  WORKDIR /app
14
 
15
- COPY . /app
16
-
17
- # Install dependencies
18
- RUN pip install --no-cache-dir -r requirements.txt && rm requirements.txt
19
-
20
-
21
  # Copy only what's needed for this environment
22
-
23
-
24
 
25
  # Copy README for web interface documentation
26
 
27
 
 
 
 
28
  # Health check
29
  HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
30
  CMD curl -f http://localhost:8000/health || exit 1
 
12
 
13
  WORKDIR /app
14
 
 
 
 
 
 
 
15
  # Copy only what's needed for this environment
16
+ COPY . /app
 
17
 
18
  # Copy README for web interface documentation
19
 
20
 
21
+ # Install dependencies
22
+ RUN pip install --no-cache-dir -r requirements.txt && rm requirements.txt
23
+
24
  # Health check
25
  HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
26
  CMD curl -f http://localhost:8000/health || exit 1
server/Dockerfile CHANGED
@@ -10,17 +10,15 @@
10
  ARG BASE_IMAGE=openenv-base:latest
11
  FROM ${BASE_IMAGE}
12
 
13
- # Install dependencies
14
- RUN pip install --no-cache-dir -r requirements.txt && rm requirements.txt
15
-
16
-
17
  # Copy only what's needed for this environment
18
- COPY src/core/ /app/src/core/
19
- COPY src/envs/coding_env/ /app/src/envs/coding_env/
20
 
21
  # Copy README for web interface documentation
22
  COPY src/envs/coding_env/README.md /app/README.md
23
 
 
 
 
24
  # Health check
25
  HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
26
  CMD curl -f http://localhost:8000/health || exit 1
 
10
  ARG BASE_IMAGE=openenv-base:latest
11
  FROM ${BASE_IMAGE}
12
 
 
 
 
 
13
  # Copy only what's needed for this environment
14
+ COPY . /app
 
15
 
16
  # Copy README for web interface documentation
17
  COPY src/envs/coding_env/README.md /app/README.md
18
 
19
+ # Install dependencies
20
+ RUN pip install --no-cache-dir -r requirements.txt && rm requirements.txt
21
+
22
  # Health check
23
  HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
24
  CMD curl -f http://localhost:8000/health || exit 1