sharex-php-uploader/Dockerfile
Fascinated 99ca7597f4
Some checks failed
/ docker (push) Failing after 24s
attempt 3
2023-07-08 00:11:43 +01:00

17 lines
346 B
Docker

FROM alpine:3.18.2
# Install dependencies
RUN apk update && \
apk upgrade && \
apk add --no-cache nginx php php-fpm && \
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 ["bash", "/start.sh"]