attempt 1 of moving to alpine
Some checks failed
/ docker (push) Failing after 22s

This commit is contained in:
Lee 2023-07-08 00:08:36 +01:00
parent f83830443b
commit 911038f6fc

@ -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