From e57ca043963bc1a18dd808308e10139c4522ba64 Mon Sep 17 00:00:00 2001 From: Bae KwonHan Date: Tue, 23 Jul 2024 00:24:39 +0900 Subject: [PATCH 1/2] add wildcard to allowed host --- pyconkr/prod-settings.py | 1 + 1 file changed, 1 insertion(+) 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 From b4f9f991c3adf43e508d7a983692d94ebe5cd948 Mon Sep 17 00:00:00 2001 From: Bae KwonHan Date: Tue, 23 Jul 2024 01:32:50 +0900 Subject: [PATCH 2/2] fix --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 && \