zkwentz commited on
Commit
8a43501
·
verified ·
1 Parent(s): 3fac402

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. Dockerfile +6 -4
  2. server/Dockerfile +6 -4
Dockerfile CHANGED
@@ -14,14 +14,16 @@ WORKDIR /app
14
 
15
  COPY . /app
16
 
 
 
 
 
17
  # Copy only what's needed for this environment
18
- COPY ../* /app
19
 
20
- # Copy README for web interface documentation
21
 
22
 
23
- # Install dependencies
24
- RUN pip install --no-cache-dir -r requirements.txt && rm requirements.txt
25
 
26
  # Health check
27
  HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
 
14
 
15
  COPY . /app
16
 
17
+ # Install dependencies
18
+
19
+ RUN pip install --no-cache-dir -r /tmp/requirements.txt && rm /tmp/requirements.txt
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 \
server/Dockerfile CHANGED
@@ -10,15 +10,17 @@
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
 
10
  ARG BASE_IMAGE=openenv-base:latest
11
  FROM ${BASE_IMAGE}
12
 
13
+ # Install dependencies
14
+ COPY src/envs/coding_env/server/requirements.txt /tmp/requirements.txt
15
+ RUN pip install --no-cache-dir -r /tmp/requirements.txt && rm /tmp/requirements.txt
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