Spaces:
Sleeping
Sleeping
update
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
@@ -1,11 +1,14 @@
|
|
1 |
-
FROM golang:1.
|
2 |
|
3 |
WORKDIR /data/GolandProjects/vad_go
|
4 |
|
5 |
COPY . /data/GolandProjects/vad_go
|
6 |
|
7 |
RUN apt-get update
|
8 |
-
RUN apt-get install -y python3-pip
|
|
|
|
|
|
|
9 |
|
10 |
RUN pip install --upgrade pip
|
11 |
RUN pip install --no-cache-dir --upgrade -r /data/GolandProjects/vad_go/requirements.txt
|
|
|
1 |
+
FROM golang:1.23
|
2 |
|
3 |
WORKDIR /data/GolandProjects/vad_go
|
4 |
|
5 |
COPY . /data/GolandProjects/vad_go
|
6 |
|
7 |
RUN apt-get update
|
8 |
+
RUN apt-get install -y python3-pip python3-venv
|
9 |
+
|
10 |
+
RUN python3 -m venv vad_go
|
11 |
+
RUN source vad_go/bin/activate
|
12 |
|
13 |
RUN pip install --upgrade pip
|
14 |
RUN pip install --no-cache-dir --upgrade -r /data/GolandProjects/vad_go/requirements.txt
|