Commit 39cf71aa authored by Luís de Sousa's avatar Luís de Sousa
Browse files

Drafted Dockerfile and .dockerignore

parent 17045e42
monoliths
wsm.rest.env
*/*.pyc
\ No newline at end of file
FROM ubuntu:16.04
MAINTAINER Luís de Sousa <luis.desousa@wur.nl>
# Not sure yet what this does
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get install python-pip python-dev nginx
RUN pip install -r ./requirements.txt
# Is this needed?
#RUN mkdir -p /var/www/wsm.app
COPY configs/wsm.rest.nginx /etc/nginx/sites-enabled/wsm.rest
COPY configs/wsm.rest.service /etc/systemd/system/wsm.rest.service
RUN systemctl start myproject
RUN systemctl enable myproject
RUN systemctl restart nginx
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment