Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ISRIC
wsm.rest
Commits
39cf71aa
Commit
39cf71aa
authored
Dec 04, 2017
by
Luís de Sousa
Browse files
Drafted Dockerfile and .dockerignore
parent
17045e42
Changes
2
Show whitespace changes
Inline
Side-by-side
.dockerignore
0 → 100644
View file @
39cf71aa
monoliths
wsm.rest.env
*/*.pyc
\ No newline at end of file
Dockerfile
0 → 100644
View file @
39cf71aa
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment