2 RUN apt-get update && apt-get install gettext libevent-dev libsqlite3-dev -y
3 WORKDIR /nit/contrib/opportunity
4 RUN sed -i 's/localhost/0.0.0.0/' src/opportunity_web.nit \
6 # Move the database to the directory db. Add a symlink since its name is hard-coded in the application :(
8 && touch db/opportunity \
9 && ln -s db/opportunity .
11 VOLUME /nit/contrib/opportunity/db/
12 CMD bin/opportunity_web 0.0.0.0:8080