diff --git a/Dockerfile b/Dockerfile index d6fe236..03a7e8b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,8 @@ FROM redis:7.2.3-alpine3.18 WORKDIR /redis -ADD init.sh /redis/init.sh -ADD redis.conf /redis/redis.conf +COPY init.sh /redis/init.sh +COPY redis.conf /redis/redis.conf LABEL version="7.2.3" LABEL org.opencontainers.image.authors="https://azagramac.gitbook.io/" @@ -11,5 +11,3 @@ LABEL org.opencontainers.image.authors="https://azagramac.gitbook.io/" EXPOSE 6379/tcp RUN chmod +x /redis/init.sh - -ENTRYPOINT ["/bin/bash", "-c", "/redis/init.sh"]