mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2026-03-14 20:55:50 +01:00
20 lines
448 B
Docker
20 lines
448 B
Docker
# how to use?
|
|
# docker run -d -v /absolute/path:/var/www/html/data -p 80:80 --restart=always --name tinyfilemanager tinyfilemanager/tinyfilemanager:master
|
|
|
|
FROM php:8.4.16-cli-alpine
|
|
|
|
RUN apk update && apk upgrade --no-cache
|
|
|
|
RUN apk add --no-cache \
|
|
libzip-dev \
|
|
oniguruma-dev
|
|
|
|
RUN docker-php-ext-install \
|
|
zip
|
|
|
|
WORKDIR /var/www/html
|
|
|
|
COPY tinyfilemanager.php index.php
|
|
COPY pwd.html ./pwd.html
|
|
|
|
CMD ["sh", "-c", "php -S 0.0.0.0:80"]
|