PYAE1994 commited on
Commit
13a5085
·
verified ·
1 Parent(s): e75f734

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -5
Dockerfile CHANGED
@@ -7,7 +7,7 @@ ENV DEBIAN_FRONTEND=noninteractive \
7
  PYTHONUNBUFFERED=1
8
 
9
  # ========================
10
- # Base dependencies
11
  # ========================
12
  RUN apt-get update && apt-get install -y \
13
  curl git git-lfs wget unzip zip \
@@ -17,7 +17,7 @@ RUN apt-get update && apt-get install -y \
17
  && rm -rf /var/lib/apt/lists/*
18
 
19
  # ========================
20
- # OpenVSCode Server (stable pinned)
21
  # ========================
22
  ARG VSCODE_VERSION=1.99.0
23
 
@@ -67,7 +67,7 @@ COPY on_startup.sh /root/on_startup.sh
67
  RUN bash /root/on_startup.sh
68
 
69
  # ========================
70
- # Python deps
71
  # ========================
72
  USER user
73
 
@@ -75,9 +75,9 @@ COPY requirements.txt /home/user/app/
75
  RUN pip install --no-cache-dir -r requirements.txt
76
 
77
  # ========================
78
- # FULL APP SOURCE (IMPORTANT FIX)
79
  # ========================
80
- COPY --chown=user app/ /home/user/app/
81
 
82
  # ========================
83
  # Playwright
 
7
  PYTHONUNBUFFERED=1
8
 
9
  # ========================
10
+ # Base system deps
11
  # ========================
12
  RUN apt-get update && apt-get install -y \
13
  curl git git-lfs wget unzip zip \
 
17
  && rm -rf /var/lib/apt/lists/*
18
 
19
  # ========================
20
+ # OpenVSCode Server (STABLE PINNED)
21
  # ========================
22
  ARG VSCODE_VERSION=1.99.0
23
 
 
67
  RUN bash /root/on_startup.sh
68
 
69
  # ========================
70
+ # Python dependencies
71
  # ========================
72
  USER user
73
 
 
75
  RUN pip install --no-cache-dir -r requirements.txt
76
 
77
  # ========================
78
+ # FULL APP (FIXED — NO PATH ERROR EVER)
79
  # ========================
80
+ COPY --chown=user . /home/user/app/
81
 
82
  # ========================
83
  # Playwright