Skip to content
Snippets Groups Projects
Dockerfile 334 B
Newer Older
Chris Hines's avatar
Chris Hines committed
FROM ubuntu
WORKDIR /opt/strudel2/src
COPY . /opt/strudel2/src
Chris Hines's avatar
Chris Hines committed
RUN apt update && apt install -y python3 gcc python3-pip openssh-client
RUN pip3 install -r requirements.txt && python3 ./setup.py install
Chris Hines's avatar
Chris Hines committed
RUN mkdir -p /var/www/.ssh && chown www-data:www-data /var/www/.ssh && chmod 700 /var/www/.ssh
Chris Hines's avatar
Chris Hines committed
EXPOSE 8080 8090
Chris Hines's avatar
Chris Hines committed
CMD ["./runscript"]