File size: 244 Bytes
657589a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM lanol/filecodebox:beta

RUN useradd -m -u 1000 user

WORKDIR /app

ENV HOME=/home/user \
    PATH=/home/user/.local/bin:$PATH

RUN mkdir -p /app/data && \
    chown -R user:user /app/data

USER user

EXPOSE 12345

CMD ["python", "main.py"]