generated from chicory/package-template
16 lines
284 B
Docker
16 lines
284 B
Docker
|
FROM php:8.3-fpm-alpine
|
||
|
|
||
|
RUN apk add --no-cache make
|
||
|
|
||
|
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
||
|
|
||
|
ARG PUID=1000
|
||
|
ARG PGID=1000
|
||
|
|
||
|
RUN addgroup -g ${PGID} www && adduser -u ${PUID} -G www -s /bin/sh -D www
|
||
|
|
||
|
COPY --chown=www:www ./ /var/www
|
||
|
|
||
|
USER www
|
||
|
|
||
|
WORKDIR /var/www
|