Files
KonCad/Dockerfile
T
Daniel 994cca7d7e
Publish Docker image / build (push) Failing after 3s
fix /data permissions — chown www-data in image
2026-04-07 13:04:06 +02:00

14 lines
384 B
Docker

FROM php:8.2-apache
# curl extension is bundled in the official image; enable it
RUN docker-php-ext-enable curl 2>/dev/null || \
(apt-get update && apt-get install -y --no-install-recommends libcurl4-openssl-dev \
&& docker-php-ext-install curl \
&& rm -rf /var/lib/apt/lists/*)
COPY app/ /var/www/html/
RUN mkdir -p /data && chown www-data:www-data /data
EXPOSE 80