1 Star 1 Fork 0

hyiau/camunda-platform-docs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 795 Bytes
一键复制 编辑 原始数据 按行查看 历史
# For local development purposes only
FROM httpd:alpine
RUN rm -r /usr/local/apache2/htdocs/*
COPY /build /usr/local/apache2/htdocs/
# Remove SSL requirement
RUN sed -i \
'/SERVER_PORT/d;/SERVER_NAME/d' \
/usr/local/apache2/htdocs/.htaccess
# Enable the rewrite module
RUN sed -i \
-e 's/^#\(LoadModule .*mod_rewrite.so\)/\1/' \
/usr/local/apache2/conf/httpd.conf
# Enable rewrites
RUN sed -i '/<Directory "\/usr\/local\/apache2\/htdocs">/,/<\/Directory>/ s/AllowOverride None/AllowOverride All/' /usr/local/apache2/conf/httpd.conf
# Restart Apache server
# I'm not totally convinced we need to do this, but I don't think there's a down-side,
# and I had one situation where I needed to go do it manually after startup so 🤷🏼
RUN apachectl -k restart
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/hyiau/camunda-platform-docs.git
git@gitee.com:hyiau/camunda-platform-docs.git
hyiau
camunda-platform-docs
camunda-platform-docs
main

搜索帮助