sharex-php-uploader/Dockerfile
Fascinated 9109639908
All checks were successful
/ docker (push) Successful in 44s
please work I am begging you
2023-07-08 00:48:05 +01:00

17 lines
367 B
Docker

FROM alpine:3.18.2
# Install dependencies
RUN apk update && \
apk upgrade && \
apk add --no-cache nginx php81 php81-fpm php81-pecl-imagick && \
rm -rf /var/cache/apk/*
# Set up nginx
COPY ./docker/nginx.conf /etc/nginx/nginx.conf
# Setup scripts
COPY ./upload.php /tmp/upload.php
COPY ./docker/start.sh /start.sh
# Start server
CMD ["sh", "/start.sh"]