FROM ubuntu WORKDIR /opt/strudel2/src COPY . /opt/strudel2/src RUN apt update && apt install -y python3 gcc python3-pip openssh-client RUN pip3 install -r requirements.txt && python3 ./setup.py install RUN mkdir -p /var/www/.ssh && chown www-data:www-data /var/www/.ssh && chmod 700 /var/www/.ssh EXPOSE 8080 8090 CMD ["./runscript"]