mongoose server up and running...
This commit is contained in:
parent
10425c51fc
commit
bceb1d5f77
@ -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
|
|
||||||
@ -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>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user