forked from RedisTimeSeries/RedisTimeSeries
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (17 loc) · 679 Bytes
/
Copy pathDockerfile
File metadata and controls
26 lines (17 loc) · 679 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#----------------------------------------------------------------------------------------------
FROM redis:bullseye AS redis
FROM debian:bullseye-slim AS builder
SHELL ["/bin/bash", "-l", "-c"]
WORKDIR /build
COPY --from=redis /usr/local/ /usr/local/
ADD . /build
RUN ./deps/readies/bin/getupdates
RUN ./sbin/setup
RUN make fetch build
#----------------------------------------------------------------------------------------------
FROM redis:bullseye
WORKDIR /data
RUN mkdir -p /usr/lib/redis/modules
COPY --from=builder /build/bin/redistimeseries.so /usr/lib/redis/modules/
EXPOSE 6379
CMD ["redis-server", "--loadmodule", "/usr/lib/redis/modules/redistimeseries.so"]