forked from PondiB/openeocubes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (19 loc) · 1018 Bytes
/
Dockerfile
File metadata and controls
22 lines (19 loc) · 1018 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM kwundram/own_openeo:1.6
# create directories
# RUN mkdir -p /opt/dockerfiles/ && mkdir -p /var/openeo/workspace/ && mkdir -p /var/openeo/workspace/data/
#RUN Rscript -e "install.packages('torch')"
#RUN Rscript -e "install.packages('gdalUtilities')"
#RUN Rscript -e "install.packages('terra')"
#RUN Rscript -e "install.packages('torch')"
#RUN Rscript -e "install.packages('slider')"
#RUN apt-get -y install libfreetype-dev
#RUN apt-get -y install libfreetype6-dev
# install packages from local directory
COPY ./ /opt/dockerfiles/
RUN Rscript -e "remove.packages('openeocubes')"
RUN Rscript -e "remotes::install_local('/opt/dockerfiles',dependencies=TRUE)"
#RUN Rscript -e "remotes::install_github('CopernicusCodeCrafters/openeocubes@ChangeProcesses',dependencies=TRUE, force = TRUE)"
# RUN Rscript -e "remotes::install_github('PondiB/openeocubes', ref = 'main', dependencies=TRUE, force = TRUE)"
# cmd or entrypoint for startup
CMD ["R", "-q", "--no-save", "-f /opt/dockerfiles/Dockerfiles/start.R"]
EXPOSE 8000