diff --git a/Dockerfile b/Dockerfile index 335b354..4e31ff0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,10 @@ -FROM python:3.7.6 +FROM --platform=linux/amd64 python:3.7.17-slim-bullseye ENV PYTHONUNBUFFERED 1 WORKDIR /config ADD requirements.txt /config/ +RUN apt-get update +RUN apt-get install -y build-essential curl postgresql-server-dev-13 RUN pip install -r requirements.txt RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \ echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \ diff --git a/pyconkr/prod-settings.py b/pyconkr/prod-settings.py index 2ccfce5..0e4a551 100644 --- a/pyconkr/prod-settings.py +++ b/pyconkr/prod-settings.py @@ -11,6 +11,7 @@ 'dev.pycon.kr', 'pycon.kr', '2020.pycon.kr', + '*', ] # https://stackoverflow.com/questions/54784981/django-allauth-google-oauth-redirect-uri-mismatch-error