-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (22 loc) · 774 Bytes
/
Dockerfile
File metadata and controls
28 lines (22 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM php:8.3-fpm-alpine
RUN apk add --no-cache \
nginx \
ffmpeg \
bash \
curl \
sqlite-dev \
&& docker-php-ext-install pdo_sqlite \
&& mkdir -p /data /media /run/nginx
# Optional: Intel VAAPI GPU transcoding support
# Uncomment to enable hardware-accelerated encoding on Intel iGPU hosts.
# RUN apk add --no-cache libva-intel-driver intel-media-driver mesa-va-gallium
COPY docker/nginx.conf /etc/nginx/nginx.conf
COPY docker/php-fpm.conf /usr/local/etc/php-fpm.d/www.conf
COPY docker/entrypoint.sh /entrypoint.sh
COPY docker/demo-data.sh /docker/demo-data.sh
COPY docker/seed-tmdb.php /docker/seed-tmdb.php
RUN chmod +x /docker/demo-data.sh
COPY . /app
VOLUME ["/data", "/media"]
EXPOSE 80
ENTRYPOINT ["/entrypoint.sh"]