Skip to content

Commit 2192fad

Browse files
Dockerfile added
1 parent f004f5e commit 2192fad

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

Dockerfile

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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

0 commit comments

Comments
 (0)