Files
Fortran-docker-mvc/Dockerfile
Tommy Parnell 9a8c5a8949 remove sql
2017-02-22 10:52:58 -05:00

18 lines
314 B
Docker

FROM ubuntu:trusty
# update Ubuntu
RUN apt-get update
RUN apt-get install -y gfortran make sqlite3 libsqlite3-dev nginx libfcgi-dev spawn-fcgi sqlite3
WORKDIR /fortran-machine
RUN echo "\ndaemon off;" >> /etc/nginx/nginx.conf
ADD . .
RUN make
ADD nginx.conf /etc/nginx/sites-enabled/default
CMD sh start.sh