-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
30 lines (21 loc) · 883 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
############################################################
# Dockerfile to build Call Notifications Sidebar App
############################################################
#docker build -t call-notifications-sidebar .
#docker run -i -p 10031:10031 -t call-notifications-sidebar
###########################################################################
FROM python:3.8.3
# File Author / Maintainer
MAINTAINER "Taylor Hanson <[email protected]>"
# Copy the application folder inside the container
ADD . .
# Set the default directory where CMD will execute
WORKDIR /
# Get pip to download and install requirements:
RUN pip install aiohttp
RUN pip install python-dotenv
#Copy environment variables file. Overwrite it with prod.env if prod.env exists.
COPY .env prod.env* .env
# Set the default command to execute
# when creating a new container
CMD ["python","server.py"]