vad_go / Dockerfile
HoneyTian's picture
update
695eaf0
raw
history blame
394 Bytes
FROM golang:1.18
WORKDIR /data/GolandProjects/vad_go
COPY . /data/GolandProjects/vad_go
RUN apt-get update
RUN apt-get install -y python3-pip
RUN pip install --upgrade pip
RUN pip install --no-cache-dir --upgrade -r /data/GolandProjects/vad_go/requirements.txt
RUN bash build_vad_go.sh
# main
WORKDIR /data/GolandProjects/vad_go
USER root
RUN chmod -R 777 .
CMD ["python3", "main.py"]