Skip to content

Commit

Permalink
add ARM Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
star7th committed Apr 30, 2023
1 parent 0c064f2 commit d8c7a0d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions DockerfileARM
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM arm64v8/wordpress:php7.4

COPY ./ /var/www/html/
RUN mkdir -p /showdoc_data/html
RUN cp -R /var/www/html/ /showdoc_data/
RUN rm -rf /usr/src/wordpress
COPY ./ /usr/src/wordpress
RUN echo "<?php echo file_get_contents('index.html'); ?>" > /var/www/html/web/index.php
RUN chmod -R 777 /var/www/html/

# 写环境变量
ENV SHOWDOC_DOCKER_VERSION 2.4
ENV SHOWDOC_DOCKER_ARM 1

0 comments on commit d8c7a0d

Please sign in to comment.