Expose 8080 automatically from dockerfile for service discovery

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2022-04-11 15:45:42 +05:30
parent 3e5c1b415f
commit acb3d241dc
Signed by: baalajimaestro
GPG key ID: F93C394FE9BBAFD5

View file

@ -27,6 +27,7 @@ COPY --from=builder /app/nim_censor_bot /
ENV DB_HOST="/data/censordata.db" ENV DB_HOST="/data/censordata.db"
EXPOSE 8080
VOLUME /data VOLUME /data
CMD ["./nim_censor_bot"] CMD ["./nim_censor_bot"]