Skip to content

Commit

Permalink
feat: 241014 AWS 38차 배포
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeJE12 committed Oct 13, 2024
1 parent 13bb5b6 commit beccefd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
11 changes: 7 additions & 4 deletions Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,18 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
# Set timezone
RUN ln -snf /usr/share/zoneinfo/Asia/Seoul /etc/localtime

RUN cd /tmp && \
wget https://dev.mysql.com/get/mysql-apt-config_0.8.20-1_all.deb && \
dpkg -i mysql-apt-config_0.8.20-1_all.deb && \
apt-get update && \
apt-get install -y libmysqlclient21

# copy over the built wheels and install them
COPY --from=builder /usr/src/app/wheels /wheel
COPY --from=builder /usr/src/app/requirements.txt .

RUN pip install --upgrade pip setuptools wheel

RUN apt-get update && apt-get install -y libmysqlclient21
RUN pip install --upgrade pip setuptools wheels
RUN pip install mysqlclient

RUN pip install /wheels/*

# set timezone
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ clova-backend-pythonanywhere
20241014 01:20 34차 actions 테스트 : final의 libmysqlclient-dev 삭제
20241014 01:25 35차 actions 테스트 : final에서 default-libmysqlclient-dev로 수정, mysql 설치 추가
20241014 01:32 36차 actions 테스트 : apt-get install -y libmysqlclient21 추가
20241014 01:34 37차 actions 테스트 : final에서 mysql 설치 삭제
20241014 01:34 37차 actions 테스트 : final에서 mysql 설치 삭제
20241014 01:36 38차 actions 테스트 : final에서 mysql 설치 location 명시

0 comments on commit beccefd

Please sign in to comment.