mongoose server up and running...

This commit is contained in:
Divyansh Bhardwaj 2022-05-25 18:50:14 +05:30
parent 10425c51fc
commit bceb1d5f77
3 changed files with 3 additions and 6 deletions

View File

@ -1,6 +1,6 @@
FROM ubuntu:20.04 FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
EXPOSE 8000 EXPOSE 6200
EXPOSE 5009 EXPOSE 5009
LABEL ranchimall="ranchimallfze@gmail.com" LABEL ranchimall="ranchimallfze@gmail.com"
@ -62,8 +62,6 @@ WORKDIR ../
RUN git clone https://github.com/ranchimall/floscout.git RUN git clone https://github.com/ranchimall/floscout.git
WORKDIR floscout WORKDIR floscout
COPY example . COPY example .
#COPY mongoose.sh .
#RUN chmod +x mongoose.sh
WORKDIR ../ WORKDIR ../
# Supervisor configurations # Supervisor configurations
@ -84,5 +82,4 @@ RUN touch /var/log/floscout/floscout.out.log
COPY run.sh . COPY run.sh .
RUN chmod +x run.sh RUN chmod +x run.sh
#CMD ["/etc/supervisor/conf.d/run.sh"] CMD ["/etc/supervisor/conf.d/run.sh"]
# RUN supervisord -c /etc/supervisor/conf.d/ftt-ranchimallflo.conf

View File

@ -28,6 +28,6 @@ sudo docker build .
Run the docker container with exposing all the port and mounting the volume Run the docker container with exposing all the port and mounting the volume
``` ```
docker run -d -p 5009:5009 6200:6200 -v ranchimall-flo-volume 147fcf811419 docker run -d -p 5009:5009 -p 6200:6200 -v ranchimall-flo-volume <IMAGE-ID>
``` ```

BIN
example

Binary file not shown.