Skip to content

Commit 7062df9

Browse files
committed
App code and a little docker in place.
1 parent d5fcc65 commit 7062df9

File tree

232 files changed

+120448
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

232 files changed

+120448
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,3 +163,6 @@ days/050-responder/demo/movie_svc/Pipfile
163163
days/050-responder/demo/movie_svc/Pipfile.lock
164164
days/050-responder/.idea/050-responder.iml
165165
days/050-responder/.idea/encodings.xml
166+
097-100-docker.iml
167+
days/097-100-docker/.idea/encodings.xml
168+
days/097-100-docker/.idea/webResources.xml
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM ubuntu:latest
2+
3+
RUN apt-get update && apt-get upgrade -y
4+
ENV TZ=America/Los_Angeles
5+
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
6+
RUN apt-get install -y -q sudo
7+
RUN apt-get install -y -q fail2ban
8+
RUN apt-get install -y -q httpie
9+
RUN apt-get install -y -q glances
10+
11+
RUN apt-get install -y -q nginx
12+
RUN rm /etc/nginx/sites-enabled/default
13+
COPY site.nginx /etc/nginx/sites-enabled/site.nginx
14+
COPY movie_exploder /app

0 commit comments

Comments
 (0)