Skip to content

Commit

Permalink
docker python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Dec 22, 2024
1 parent 015b686 commit dbdbdaa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
FROM python:3.11-slim
FROM python:3.12-slim

# copy files requirements
COPY ./requirements.txt /app/requirements.txt

# install requirements
RUN apt-get clean
RUN apt-get update -y
RUN #apt-get install -y gdal-bin libgdal-dev g++
RUN pip install -U pip
RUN pip install -r /app/requirements.txt
RUN apt-get update && apt-get install -y git
RUN pip install git+https://github.com/SheffieldSolar/PV_Live-API#pvlive_api

# set working directory
WORKDIR /app
Expand Down

0 comments on commit dbdbdaa

Please sign in to comment.