Spaces:
Sleeping
Sleeping
File size: 407 Bytes
afb561a 382cf0c 219b254 382cf0c 219b254 382cf0c 76434f0 afb561a 7867a4e 219b254 dd6cbab 76434f0 fb5697c d4f6d43 695eaf0 d9494cc 382cf0c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
FROM golang:1.23
WORKDIR /code
COPY . /code
RUN apt-get update
RUN apt-get install -y python3-pip python3-venv
RUN python3 -m venv vad_go_venv
# RUN source vad_go_venv/bin/activate
ENV PATH="/code/vad_go_venv/bin:$PATH"
RUN pip install --upgrade pip
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
RUN bash build_vad_go.sh
USER root
RUN chmod -R 777 .
CMD ["python3", "main.py"]
|