-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDockerfile.reports
25 lines (18 loc) · 975 Bytes
/
Dockerfile.reports
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM debian:bookworm-slim
RUN apt update
RUN apt install -y r-base r-base-dev pandoc curl libcurl4-openssl-dev libssl-dev
RUN Rscript -e "install.packages('rmarkdown')"
RUN Rscript -e "install.packages('sqldf')"
RUN Rscript -e "install.packages('mixtools')"
RUN Rscript -e "install.packages('zeallot')"
COPY current_gas_cost.csv /reports/current_gas_cost.csv
COPY common.R /reports/common.R
COPY measure_marginal_single.Rmd /reports/measure_marginal_single.Rmd
COPY final_estimation.Rmd /reports/final_estimation.Rmd
COPY measure_arguments_single.Rmd /reports/measure_arguments_single.Rmd
RUN apt -y install python3 python3-dev python3-flask uwsgi uwsgi-plugin-python3
COPY rest-api/gas-cost-estimator-rest-api.ini /rest-api/gas-cost-estimator-rest-api.ini
COPY rest-api/gas-cost-estimator-rest-api.py /rest-api/gas-cost-estimator-rest-api.py
COPY --chmod=774 rest-api/gas-cost-estimator-rest-api.sh /rest-api/gas-cost-estimator-rest-api.sh
VOLUME /data
WORKDIR /data