FROM ubuntu:latest ENV DEBIAN_FRONTEND=noninteractive EXPOSE 7860 RUN chown -R 1000 /var/log/ /run/ RUN useradd -m -u 1000 user USER user ENV HOME /home/user COPY --chown=user:user . /home/user/app/ WORKDIR /home/user/app/frp/ ENTRYPOINT ["/home/user/app/frp/frps", "-c" "./frps.ini"]