neuland-ingolstadt / neuland.app

A free & open source, web-based replacement for the official app of the Technische Hochschule Ingolstadt built with React and Next.js.
https://neuland.app
GNU Affero General Public License v3.0
36 stars 31 forks source link

Dockerfile Splitting for the Neuland Asset Server #363

Closed bee1850 closed 10 months ago

bee1850 commented 10 months ago

🤖 Generated by Copilot at 627c7af

Summary

🐳🐍📅

This pull request reorganizes the Python scripts into a separate assets/python directory and adds Dockerfiles for building Python and Rust images. It also adds bash scripts for running the Python scripts and their dependencies.

Dockerfiles build images for scraping data autumn of neuland

Walkthrough

bee1850 commented 10 months ago

As per my memory @Robert27 said the course-downloader isnt needed anymore, hence the added premature exit statement in the standartized run.sh script for that module

bee1850 commented 10 months ago

Docker files can be built with the following commands:

sudo docker build -force-rm -t all:latest -f Dockerfile_python -force-rm removes intermediate containers and images -t sets a tag -f specifies Dockerfile to be built (default is Dockerfile)

Images can be run with: sudo docker run all:latest

The Rust Dockerfile was not tested.