sharex-php-uploader/Dockerfile
Liam 9becfcc03c
All checks were successful
Publish Docker Image / docker (push) Successful in 33s
bump alpine
2023-10-13 19:32:09 +01:00

17 lines
357 B
Docker

FROM alpine:3.18.4
# Install dependencies
RUN apk update && \
apk upgrade && \
apk add --no-cache nginx php81 php81-fpm php81-gd && \
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"]