From 1a464b4397b8bb77f662681008fca1030d0b95d5 Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 31 Jul 2023 21:31:14 +0700 Subject: [PATCH] update deployment --- deploy.sh | 2 +- docker-compose_testing.yml | 2 +- tubearchivist/web/Dockerfile | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deploy.sh b/deploy.sh index e4cb3c5..d262eff 100755 --- a/deploy.sh +++ b/deploy.sh @@ -24,7 +24,7 @@ function docker_publish { rsync -a --progress --delete helper_scripts $public_host: rsync -a --progress --delete builder/ $public_host:builder ssh "$public_host" "mkdir -p builder/clone" - ssh "$public_host" 'docker compose -f docker/docker-compose.yml up -d --build' + ssh "$public_host" 'docker compose -f docker/docker-compose.yml up -d --build tubearchivist' } if [[ $1 == "test" ]]; then diff --git a/docker-compose_testing.yml b/docker-compose_testing.yml index 02444c3..574548a 100644 --- a/docker-compose_testing.yml +++ b/docker-compose_testing.yml @@ -27,7 +27,7 @@ services: - "8080" # backend postgres postgres: - image: postgres:14 + image: postgres:15 container_name: postgres restart: always volumes: diff --git a/tubearchivist/web/Dockerfile b/tubearchivist/web/Dockerfile index 32c2d0b..ac732d1 100644 --- a/tubearchivist/web/Dockerfile +++ b/tubearchivist/web/Dockerfile @@ -1,5 +1,5 @@ # builder -FROM python:3.10.9-slim-bullseye as builder +FROM python:3.11.3-slim-bullseye as builder RUN apt-get update && apt-get install -y --no-install-recommends \ build-essential @@ -8,7 +8,7 @@ COPY requirements.txt /requirements.txt RUN pip install --user -r requirements.txt # final -FROM python:3.10.9-slim-bullseye as tubearchivist-web +FROM python:3.11.3-slim-bullseye as tubearchivist-web ARG INSTALL_DEBUG ENV PYTHONUNBUFFERED 1