File size: 382 Bytes
71d263d
9cc5df2
b56967d
2c0836c
b56967d
23fea73
 
 
3f64afc
e69a4e8
9cc5df2
 
f620658
3f64afc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
RUN chown -R 1000:1000 /gentle

EXPOSE 8765
EXPOSE 7860

CMD sh -c "cd /gentle && python serve.py & socat TCP-LISTEN:7860,fork,reuseaddr TCP:localhost:8765"