Commit a376a5b0 authored by 神楽坂玲奈's avatar 神楽坂玲奈

init

parent ec7412f7
Pipeline #4657 canceled with stages
FROM debian:bullseye as frp
WORKDIR /usr/src/app
ADD https://github.com/fatedier/frp/releases/download/v0.37.1/frp_0.37.1_linux_amd64.tar.gz ./
RUN tar xf frp_0.37.1_linux_amd64.tar.gz
FROM debian:bullseye
RUN apt update && apt install -y \
supervisor \
&& rm -rf /var/lib/apt/lists/*
COPY --from=frp /usr/src/app/frp_0.37.1_linux_amd64/ /opt/frp
[supervisord]
nodaemon=true
[program:sshd]
command=/usr/sbin/sshd -D
[program:pythonapp]
command=/path/to/python myapp.py -x args etc etc
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment