ahd75 commited on
Commit
2f2e0cc
·
verified ·
1 Parent(s): cdd0b9c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -4,6 +4,12 @@ FROM python:3.10-slim
4
  # Set the working directory inside the container
5
  WORKDIR /code
6
 
 
 
 
 
 
 
7
  # Install ALL essential system dependencies for OpenCV & Paddle
8
  # libgl1: Fixes libGL.so.1 (OpenGL/GPU-related)
9
  # libglib2.0-0: Fixes libgthread-2.0.so.0 (GTK/GLib dependency)
 
4
  # Set the working directory inside the container
5
  WORKDIR /code
6
 
7
+ # Set up the paddlex directories
8
+ RUN mkdir /.paddlex
9
+ RUN chmod 755 /.paddlex
10
+ RUN mkdir /.paddlex/temp
11
+ RUN chmod 755 /.paddlex/temp
12
+
13
  # Install ALL essential system dependencies for OpenCV & Paddle
14
  # libgl1: Fixes libGL.so.1 (OpenGL/GPU-related)
15
  # libglib2.0-0: Fixes libgthread-2.0.so.0 (GTK/GLib dependency)