This commit is contained in:
parent
f83830443b
commit
911038f6fc
12
Dockerfile
12
Dockerfile
@ -1,12 +1,10 @@
|
|||||||
FROM ubuntu:23.04
|
FROM alpine:3.18.2
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN apt update
|
RUN apk update && \
|
||||||
RUN DEBIAN_FRONTEND=noninteractive \
|
apk upgrade && \
|
||||||
apt install nginx php8.1 php8.1-fpm php8.1-gd php8.1-imagick -y
|
apk add --no-cache nginx php8.1 php8.1-fpm php8.1-gd php8.1-imagick && \
|
||||||
|
rm -rf /var/cache/apk/*
|
||||||
# Clean up
|
|
||||||
RUN apt clean
|
|
||||||
|
|
||||||
# Set up nginx
|
# Set up nginx
|
||||||
COPY ./docker/nginx.conf /etc/nginx/nginx.conf
|
COPY ./docker/nginx.conf /etc/nginx/nginx.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user