Skip to content

Commit

Permalink
Upgrade python version in Dockerfile (#72)
Browse files Browse the repository at this point in the history
* Upgrade python version and fix broken Dockerfile

* Format exceptions.py file
  • Loading branch information
kaypee90 authored Oct 11, 2023
1 parent 27b9c6c commit ca51279
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM python:3.9
FROM python:3.12.0-slim-bookworm
ENV PYTHONUNBUFFERED 1

RUN mkdir /code
WORKDIR /code

COPY requirements.txt /code/
COPY requirements.txt requirements-documentation.txt /code/
RUN pip install -r requirements.txt

COPY . /code/

ENTRYPOINT sleep 365d
ENTRYPOINT sleep 365d
1 change: 1 addition & 0 deletions zebrok/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ class ZebrokNotImplementedError(NotImplementedError):
Custom exception to be thrown when a derived class
fails to implement an abstract method of a base class
"""

pass

0 comments on commit ca51279

Please sign in to comment.