diff --git a/Dockerfile b/Dockerfile index f649083..84b71e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM ubuntu:20.04 ENV DEBIAN_FRONTEND=noninteractive -EXPOSE 8000 +EXPOSE 6200 EXPOSE 5009 LABEL ranchimall="ranchimallfze@gmail.com" @@ -62,8 +62,6 @@ WORKDIR ../ RUN git clone https://github.com/ranchimall/floscout.git WORKDIR floscout COPY example . -#COPY mongoose.sh . -#RUN chmod +x mongoose.sh WORKDIR ../ # Supervisor configurations @@ -84,5 +82,4 @@ RUN touch /var/log/floscout/floscout.out.log COPY run.sh . RUN chmod +x run.sh -#CMD ["/etc/supervisor/conf.d/run.sh"] -# RUN supervisord -c /etc/supervisor/conf.d/ftt-ranchimallflo.conf +CMD ["/etc/supervisor/conf.d/run.sh"] \ No newline at end of file diff --git a/README.md b/README.md index dddb9b4..9e75e5a 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,6 @@ sudo docker build . 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 ``` diff --git a/example b/example index 55835d6..281d2a7 100755 Binary files a/example and b/example differ