Skip to content

Commit

Permalink
Merge pull request #10 from yettoapp/add-redis
Browse files Browse the repository at this point in the history
Add Redis
  • Loading branch information
gjtorikian authored Jan 10, 2025
2 parents 5e11174 + f3ced9c commit fc30001
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions service/redis/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# repeated below, because Docker
ARG REDIS_VERSION_MAJOR=7
ARG DEBIAN_VERSION="bookworm"

FROM redis:${REDIS_VERSION_MAJOR}-${DEBIAN_VERSION}

# Apply timezone
ENV TZ="Etc/UTC"
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

CMD [ "redis-server"]

EXPOSE 6379

0 comments on commit fc30001

Please sign in to comment.