sharex-php-uploader/Dockerfile
Lee f83830443b
All checks were successful
/ docker (push) Successful in 2m7s
revert d89ed9e17df3b995c9c4ed185afb0a1a7c2a6d12
revert alpine tests
2023-07-07 23:04:51 +00:00

19 lines
372 B
Docker

FROM ubuntu:23.04
# Install dependencies
RUN apt update
RUN DEBIAN_FRONTEND=noninteractive \
apt install nginx php8.1 php8.1-fpm php8.1-gd php8.1-imagick -y
# Clean up
RUN apt clean
# 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 ["bash", "/start.sh"]