Skip to content

Commit

Permalink
Updated build system
Browse files Browse the repository at this point in the history
  • Loading branch information
jcostom committed Jan 22, 2024
1 parent 5291915 commit 00af767
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
FROM python:3.11.7-slim-bookworm
FROM python:3.12.1-slim-bookworm AS builder

ARG TZ=America/New_York
RUN apt update && apt -yq install gcc make
RUN pip install requests

VOLUME "/config"
FROM python:3.12.1-slim-bookworm

RUN pip install requests
ARG TZ=America/New_York
ARG PYVER=3.12

COPY --from=builder /usr/local/lib/python$PYVER/site-packages/ /usr/local/lib/python$PYVER/site-packages/

VOLUME "/config"

RUN mkdir /app
COPY ./rollerblades.py /app
Expand Down
2 changes: 1 addition & 1 deletion rollerblades.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
DEBUG = int(os.getenv('DEBUG', 0))

# --- Globals ---
VER = '1.0.5'
VER = '1.1'
USER_AGENT = f"rollerblades.py/{VER}"
KEY = 'CinemaTrailersPrerollID'

Expand Down

0 comments on commit 00af767

Please sign in to comment.