File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed
days/097-100-docker/demo/services Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change
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 build-essential git python3-pip python3-dev python3-venv
12
+ RUN python3 -m venv /venv
13
+ RUN /venv/bin/pip install -U pip setuptools
14
+ RUN /venv/bin/pip install responder
15
+
16
+ COPY movie_svc /app
17
+ WORKDIR /app
18
+ RUN /venv/bin/pip install -r /app/requirements.txt
Original file line number Diff line number Diff line change 5
5
6
6
db .global_init ()
7
7
8
- api .run (port = 7007 )
8
+
9
+ api .run (port = 7007 , address = "0.0.0.0" )
You can’t perform that action at this time.
0 commit comments