Remove installing redis-server from apt on build
This commit is contained in:
@@ -5,16 +5,13 @@ RUN mkdir -p /opt/seasonedShows
|
|||||||
WORKDIR /opt/seasonedShows
|
WORKDIR /opt/seasonedShows
|
||||||
|
|
||||||
COPY seasoned_api/ .
|
COPY seasoned_api/ .
|
||||||
|
COPY package.json .
|
||||||
|
|
||||||
RUN apt update
|
RUN apt update
|
||||||
RUN apt install node-pre-gyp -y
|
RUN apt install node-pre-gyp -y
|
||||||
RUN yarn
|
RUN yarn
|
||||||
RUN cp conf/development.json.example conf/development.json
|
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
|
EXPOSE 31459
|
||||||
|
|
||||||
CMD ["yarn", "start"]
|
CMD ["yarn", "start"]
|
||||||
|
|||||||
Reference in New Issue
Block a user