16 lines
311 B
Docker
16 lines
311 B
Docker
FROM ubuntu:22.04
|
|
|
|
# Install dependencies
|
|
RUN apt update
|
|
RUN DEBIAN_FRONTEND=noninteractive \
|
|
apt install nginx php-fpm php-gd -y
|
|
|
|
# Set up nginx
|
|
COPY ./docker/nginx.conf /etc/nginx/nginx.conf
|
|
RUN mkdir -p /var/www/html
|
|
|
|
# Setup scripts
|
|
COPY ./docker/start.sh /start.sh
|
|
|
|
# Start server
|
|
CMD ["bash", "/start.sh"] |