diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..7db1193 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM rust:1.80 +WORKDIR /app +COPY . . + +ARG HASURAGRES_URL +ARG HASURAGRES_API_KEY + +ENV TIMETABLE_API_URL=https://timetable.unsw.edu.au/year/ + +RUN cargo r -- scrape_n_batch_insert -release +