vad_go / Dockerfile
HoneyTian's picture
update
fb5697c
raw
history blame
407 Bytes
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"]