-
Notifications
You must be signed in to change notification settings - Fork 4
/
Dockerfile
35 lines (23 loc) · 840 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM ubuntu:12.04
# Usage: File Author/Maintainer
MAINTAINER vlead-systems "systems@vlabs.ac.in"
#Usage: Setting proxy environment
#ENV http_proxy "http://proxy.iiit.ac.in:8080"
#ENV https_proxy "http://proxy.iiit.ac.in:8080"
# Usage: Updating system
RUN apt-get update
# Usage: Installing dependencies for computer graphics lab
RUN apt-get install -y make rsync php5 apache2 wget
RUN mkdir /bio-medical-signal-and-image-processing-lab-iitr
COPY src/ /bio-medical-signal-and-image-processing-lab-iitr/src
WORKDIR ./bio-medical-signal-and-image-processing-lab-iitr/src
#Usage: Running make
RUN make
#Usage: Copying lab sources into web server path
RUN rm -rf /var/www/*
RUN cp -r ../build/* /var/www/
EXPOSE 80
EXPOSE 443
#Usage: Setting permissions in /var/www
RUN chmod -R 755 /var/www/*
CMD /usr/sbin/apache2ctl -D FOREGROUND