Remove installing redis-server from apt on build

This commit is contained in:
2022-08-17 00:18:34 +02:00
parent 20d74cafb9
commit 014cac8b06

View File

@@ -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"]