2020-11-18 13:23:59 +00:00
|
|
|
FROM appsmith/appsmith-editor as frontend
|
|
|
|
|
|
|
|
|
|
FROM appsmith/appsmith-server
|
|
|
|
|
|
|
|
|
|
RUN mkdir -p /var/www/appsmith
|
|
|
|
|
COPY --from=appsmith/appsmith-editor /var/www/appsmith /var/www/appsmith
|
|
|
|
|
|
|
|
|
|
RUN apk add --update nginx && \
|
|
|
|
|
rm -rf /var/cache/apk/* && \
|
|
|
|
|
mkdir -p /tmp/nginx/client-body && \
|
2020-12-02 04:39:12 +00:00
|
|
|
apk --no-cache add gettext bash curl
|
2020-11-18 13:23:59 +00:00
|
|
|
|
|
|
|
|
COPY nginx.conf /etc/nginx/nginx.conf
|
|
|
|
|
COPY default.conf.template /etc/nginx/conf.d/default.conf.template
|
2020-12-02 04:39:12 +00:00
|
|
|
COPY bootstrap.sh /bootstrap.sh
|
|
|
|
|
COPY analytics.sh /analytics.sh
|
|
|
|
|
RUN chmod +x /analytics.sh
|
2020-11-18 13:23:59 +00:00
|
|
|
|
|
|
|
|
EXPOSE 80
|
|
|
|
|
|
2020-12-02 04:39:12 +00:00
|
|
|
ENTRYPOINT [ "/bin/sh -c" ]
|
|
|
|
|
CMD ["/bootstrap.sh"]
|
|
|
|
|
|