From 0069bef0c85d5bb28277ba6ef9b1a51ebe9c97e0 Mon Sep 17 00:00:00 2001 From: Alexandra White Date: Wed, 12 Apr 2017 14:12:58 -0400 Subject: [PATCH] dockerized --- Dockerfile | 14 ++++++++++++++ docker-compose.yml | 8 ++++++++ 2 files changed, 22 insertions(+) create mode 100644 Dockerfile create mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000..98cb8798a1 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +# Base image +FROM nginx:latest + +# Copy Contents of the Application +COPY index.html /usr/share/nginx/html +COPY favicon.ico /usr/share/nginx/html +COPY Rakefile /usr/share/nginx/html +COPY style/ /usr/share/nginx/html/style/ +COPY meta/ /usr/share/nginx/html/meta/ +COPY js/ /usr/share/nginx/html/js/ + +# What port should we use? +EXPOSE 80 + diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000000..d5362bd06c --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,8 @@ +twentyfortyeight: + image: heyawhite/twentyfortyeight:latest + ports: + - 80 + labels: + - triton.cns.services=twentyfortyeight + mem_limit: 128m +