PromucFlow_constructor/deploy/heroku/Dockerfile
geekup-legodevops d5480c4f34
Heroku Button implementation (#1721)
This change adds Heroku to the list of installation targets for Appsmith
2020-11-18 18:53:59 +05:30

24 lines
545 B
Docker

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 && \
apk add gettext && apk add bash && \
rm /bin/sh && \
ln -s /bin/bash /bin/sh
COPY nginx.conf /etc/nginx/nginx.conf
COPY default.conf.template /etc/nginx/conf.d/default.conf.template
COPY bootstrap.sh .
EXPOSE 80
ENTRYPOINT ["./bootstrap.sh"]