From 014cac8b0635252d14dd12502345e1e19b923324 Mon Sep 17 00:00:00 2001 From: Kevin Midboe Date: Wed, 17 Aug 2022 00:18:34 +0200 Subject: [PATCH] Remove installing redis-server from apt on build --- Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7cc8bc1..fc4db8b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,16 +5,13 @@ RUN mkdir -p /opt/seasonedShows WORKDIR /opt/seasonedShows COPY seasoned_api/ . +COPY package.json . RUN apt update RUN apt install node-pre-gyp -y RUN yarn RUN cp conf/development.json.example conf/development.json -# Replace with external redis -RUN apt install redis-server systemctl -y -RUN systemctl enable redis-server - EXPOSE 31459 CMD ["yarn", "start"]