nxdev-org commited on
Commit
dce0328
·
verified ·
1 Parent(s): 668514e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -2
Dockerfile CHANGED
@@ -12,7 +12,6 @@ RUN apt-get update && apt-get install -y \
12
  curl \
13
  sed \
14
  python3-pip \
15
- python3-distutils \
16
  && rm -rf /var/lib/apt/lists/*
17
 
18
  WORKDIR /app
@@ -20,7 +19,13 @@ WORKDIR /app
20
  # Toolkitのクローン
21
  RUN git clone https://github.com/overleaf/toolkit.git /app/toolkit
22
  WORKDIR /app/toolkit
23
-
 
 
 
 
 
 
24
 
25
  # Toolkitの初期化
26
  RUN bin/init
 
12
  curl \
13
  sed \
14
  python3-pip \
 
15
  && rm -rf /var/lib/apt/lists/*
16
 
17
  WORKDIR /app
 
19
  # Toolkitのクローン
20
  RUN git clone https://github.com/overleaf/toolkit.git /app/toolkit
21
  WORKDIR /app/toolkit
22
+
23
+ RUN python3 -m venv /opt/venv
24
+
25
+ # Add it to the PATH (this "activates" it for the rest of the Dockerfile)
26
+ ENV PATH="/opt/venv/bin:$PATH"
27
+
28
+ RUN pip install distutils
29
 
30
  # Toolkitの初期化
31
  RUN bin/init