gentle-audio / Dockerfile
shiveshnavin's picture
Fxies
23fea73
raw
history blame
365 Bytes
FROM lowerquality/gentle:latest
RUN apt-get update && apt-get install -y socat && rm -rf /var/lib/apt/lists/*
RUN echo $USER
RUN whoami
# USER node
RUN mkdir -p /gentle/webdata/zip
RUN chown -R 1000:1000 /gentle/webdata/zip
EXPOSE 8765
EXPOSE 7860
CMD sh -c "echo $USER && cd /gentle && python serve.py & socat TCP-LISTEN:7860,fork,reuseaddr TCP:localhost:8765"