File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM ubuntu:12.04
2+
3+ # Usage: File Author/Maintainer
4+ MAINTAINER vlead-systems "systems@vlabs.ac.in"
5+
6+ # Usage: Setting proxy environment
7+ # ENV http_proxy "http://proxy.iiit.ac.in:8080"
8+ # ENV https_proxy "http://proxy.iiit.ac.in:8080"
9+
10+ # Usage: Updating system
11+ RUN apt-get update
12+
13+ # Usage: Installing dependencies for computer graphics lab
14+ RUN apt-get install -y make rsync php5 apache2 wget
15+
16+ RUN mkdir /bio-medical-signal-and-image-processing-lab-iitr
17+
18+ COPY src/ /bio-medical-signal-and-image-processing-lab-iitr/src
19+
20+ WORKDIR ./bio-medical-signal-and-image-processing-lab-iitr/src
21+
22+ # Usage: Running make
23+ RUN make
24+
25+ # Usage: Copying lab sources into web server path
26+ RUN rm -rf /var/www/*
27+ RUN cp -r ../build/* /var/www/
28+
29+ EXPOSE 80
30+ EXPOSE 443
31+
32+ # Usage: Setting permissions in /var/www
33+ RUN chmod -R 755 /var/www/*
34+
35+ CMD /usr/sbin/apache2ctl -D FOREGROUND
You can’t perform that action at this time.
0 commit comments