Skip to content

Commit

Permalink
Added build-essential and switched back to python 3.11 for match stat…
Browse files Browse the repository at this point in the history
…ements
  • Loading branch information
nsarrazin committed Apr 26, 2023
1 parent 428231e commit 7a608bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ WORKDIR /usr/src/app

# ---------------------------------------
# Base image for runtime
FROM python:3.9-slim as base
FROM python:3.11-slim as base

ENV TZ=Etc/UTC
WORKDIR /usr/src/app

# Install Redis
RUN apt-get update \
&& apt-get install -y curl wget gnupg cmake lsb-release \
&& apt-get install -y curl wget gnupg cmake lsb-release build-essential \
&& curl -fsSL https://packages.redis.io/gpg | gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg \
&& echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/redis.list \
&& apt-get update \
Expand Down

0 comments on commit 7a608bc

Please sign in to comment.