Skip to content

Commit 1be2846

Browse files
committed
build website content right into the docker container
1 parent 9efa59c commit 1be2846

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

Dockerfile

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM jekyll/jekyll AS build
2+
COPY --chown=jekyll:jekyll . /srv/jekyll/
3+
RUN jekyll build
4+
5+
FROM php:8.3-apache
6+
COPY docker/mumalab-website.conf /etc/apache2/conf-available/mumalab-website.conf
7+
COPY --from=build /srv/jekyll/_site /var/www/html
8+
RUN a2enconf mumalab-website && \
9+
a2enmod proxy proxy_http ssl && a2enmod rewrite && \
10+
pecl install apcu && docker-php-ext-enable apcu

docker/Dockerfile

-5
This file was deleted.

0 commit comments

Comments
 (0)