FROM carpool/backend

# REQUIRED ENV PROVIDED BY DOCKER COMPOSE RUN
ENV TWILIO_ACCOUNT_SID=XXX
ENV TWILIO_AUTH_TOKEN=XXX
ENV TWILIO_NUMBER=XXX
ENV PGUSER=carpool_app
ENV PGPASSWORD=null
ENV PGHOST=cp_pg_server
ENV PGDATABASE=LIVE
ENV PGDATABASE=LIVE

WORKDIR /smsHandler

RUN npm install

ENTRYPOINT ["npm", "start"]
