Skip to content

Commit

Permalink
Merge pull request codeforboston#377 from zganger/python-patch
Browse files Browse the repository at this point in the history
  • Loading branch information
zganger authored May 11, 2024
2 parents e5a8a75 + c4218e5 commit e71927f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3-slim-buster AS base
FROM python:3-slim-bullseye AS base

RUN apt-get update && apt-get install curl -y && apt-get install g++ libpq-dev gcc -y

Expand Down
2 changes: 1 addition & 1 deletion backend/Dockerfile.cloud
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# docker build command:
# docker build -t police-data-trust-backend-dev -f backend/Dockerfile.cloud .
FROM python:3-slim-buster
FROM python:3-slim-bullseye

WORKDIR /app/

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3"
services:
db:
image: postgres:16.1 #AWS RDS latest version
image: postgres:16.2 #AWS RDS latest version
env_file:
- ".env"
volumes:
Expand Down
4 changes: 2 additions & 2 deletions requirements/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# requirements, so this image starts with the same image as the database
# containers and installs the same version of python as the api containers

FROM postgres:16.1 as base
FROM postgres:16.2 as base

RUN apt-get update && apt-get install -y \
make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev \
Expand All @@ -15,7 +15,7 @@ SHELL ["bash", "-lc"]
RUN curl https://pyenv.run | bash && \
echo 'export PATH="$HOME/.pyenv/shims:$HOME/.pyenv/bin:$PATH"' >> ~/.bashrc

ENV PYTHON_VERSION=3.12.2
ENV PYTHON_VERSION=3.12.3
RUN pyenv install ${PYTHON_VERSION} && pyenv global ${PYTHON_VERSION}
RUN pip install pip-tools

Expand Down
2 changes: 1 addition & 1 deletion runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.12.2
python-3.12.3

0 comments on commit e71927f

Please sign in to comment.