Skip to content

Commit d6f3aaa

Browse files
committed
bump dependencies
1 parent caf3f50 commit d6f3aaa

File tree

8 files changed

+17
-26
lines changed

8 files changed

+17
-26
lines changed

app/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# pull official base image
2-
FROM python:3.7-alpine
2+
FROM python:3.7.4-alpine
33

44
# set work directory
55
WORKDIR /usr/src/app
66

7-
# set environment varibles
7+
# set environment variables
88
ENV PYTHONDONTWRITEBYTECODE 1
99
ENV PYTHONUNBUFFERED 1
1010

app/Dockerfile.prod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# pull official base image
2-
FROM python:3.7-alpine
2+
FROM python:3.7.4-alpine
33

44
# set work directory
55
WORKDIR /usr/src/app
66

7-
# set environment varibles
7+
# set environment variables
88
ENV PYTHONDONTWRITEBYTECODE 1
99
ENV PYTHONUNBUFFERED 1
1010

app/Pipfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "pypi"
77

88
[packages]
99

10-
django = "==2.2"
10+
django = "==2.2.4"
1111
gunicorn= "==19.9.0"
1212

1313

@@ -17,4 +17,4 @@ gunicorn= "==19.9.0"
1717

1818
[requires]
1919

20-
python_version = "3.7"
20+
python_version = "3.7.4"

app/Pipfile.lock

Lines changed: 7 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/hello_django/settings.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Django settings for hello_django project.
33
4-
Generated by 'django-admin startproject' using Django 2.2.
4+
Generated by 'django-admin startproject' using Django 2.2.4.
55
66
For more information on this file, see
77
https://docs.djangoproject.com/en/2.2/topics/settings/
@@ -19,10 +19,8 @@
1919
# Quick-start development settings - unsuitable for production
2020
# See https://docs.djangoproject.com/en/2.2/howto/deployment/checklist/
2121

22-
# SECURITY WARNING: keep the secret key used in production secret!
2322
SECRET_KEY = os.environ.get('SECRET_KEY')
2423

25-
# SECURITY WARNING: don't run with debug turned on in production!
2624
DEBUG = int(os.environ.get('DEBUG', default=0))
2725

2826
ALLOWED_HOSTS = ['localhost', '127.0.0.1']

docker-compose.prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ services:
1515
depends_on:
1616
- db
1717
db:
18-
image: postgres:11.2-alpine
18+
image: postgres:11.5-alpine
1919
volumes:
2020
- postgres_data:/var/lib/postgresql/data/
2121
env_file: .env.db

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ services:
2121
depends_on:
2222
- db
2323
db:
24-
image: postgres:11.2-alpine
24+
image: postgres:11.5-alpine
2525
volumes:
2626
- postgres_data:/var/lib/postgresql/data/
2727
environment:

nginx/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM nginx:1.15.12-alpine
1+
FROM nginx:1.17.2-alpine
22

33
RUN rm /etc/nginx/conf.d/default.conf
44
COPY nginx.conf /etc/nginx/conf.d

0 commit comments

Comments
 (0)