Skip to content

Commit

Permalink
bump jellyseerr
Browse files Browse the repository at this point in the history
Signed-off-by: David Young <[email protected]>
  • Loading branch information
funkypenguin committed Oct 23, 2024
1 parent ddaafeb commit 3c2ddd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 66 deletions.
59 changes: 2 additions & 57 deletions apps/jellyseerr/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,58 +1,3 @@
ARG VERSION

FROM ghcr.io/elfhosted/alpine:rolling@sha256:672b59dc4580b8aaae42e839c878501109ed7a810072c872363250930899bf16

# set environment variables
ENV HOME="/config"

RUN \
echo "**** install build packages ****" && \
apk add --no-cache --virtual=build-dependencies \
curl \
g++ \
make \
python3 && \
echo "**** install runtime packages ****" && \
apk add --no-cache \
yarn && \
if [ -z ${VERSION+x} ]; then \
VERSION=$(curl -sX GET "https://api.github.com/repos/Fallenbagel/jellyseerr/releases/latest" \
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
fi && \
export COMMIT_TAG="${VERSION}" && \
curl -o \
/tmp/overseerr.tar.gz -L \
"https://github.com/Fallenbagel/jellyseerr/archive/${VERSION}.tar.gz" && \
mkdir -p /app/overseerr && \
tar xzf \
/tmp/overseerr.tar.gz -C \
/app/overseerr/ --strip-components=1 && \
cd /app/overseerr && \
export NODE_OPTIONS=--max_old_space_size=2048 && \
CYPRESS_INSTALL_BINARY=0 yarn --frozen-lockfile --network-timeout 1000000 && \
yarn build && \
yarn install --production --ignore-scripts --prefer-offline && \
yarn cache clean && \
rm -rf \
/app/overseerr/src \
/app/overseerr/server && \
echo "{\"commitTag\": \"${COMMIT_TAG}\"}" > committag.json && \
rm -rf /app/overseerr/config && \
ln -s /config /app/overseerr/config && \
touch /config/DOCKER && \
echo "**** cleanup ****" && \
apk del --purge \
build-dependencies && \
rm -rf \
/root/.cache \
/tmp/* \
/app/overseerr/.next/cache/*

COPY ./apps/overseerr/entrypoint.sh /

# ports and volumes
EXPOSE 5055
VOLUME /config
USER 568
CMD ["/entrypoint.sh"]

FROM fallenbagel/jellyseerr:${VERSION} as upstream
ENV CONFIG_DIRECTORY="/config"
9 changes: 0 additions & 9 deletions apps/jellyseerr/entrypoint.sh

This file was deleted.

0 comments on commit 3c2ddd3

Please sign in to comment.