blob: ef226da56499f37fc27c52b5a4fe94351773a61e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
FROM mozillabteam/bmo-slim:20170927.1
ENV BUNDLE=https://s3.amazonaws.com/moz-devservices-bmocartons/bmo/vendor.tar.gz
ENV PORT=8000
WORKDIR /app
COPY . .
RUN mv /opt/bmo/local /app && \
chown -R app:app /app && \
perl -c /app/scripts/entrypoint.pl
USER app
RUN perl checksetup.pl --no-database --default-localconfig && \
rm -rf /app/data /app/localconfig && \
mkdir /app/data
EXPOSE $PORT
ENTRYPOINT ["/app/scripts/entrypoint.pl"]
CMD ["httpd"]
|