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

View File

@ -1,12 +1,10 @@
FROM ubuntu:23.04
FROM alpine:3.18.2
# 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
RUN apk update && \
apk upgrade && \
apk add --no-cache nginx php8.1 php8.1-fpm php8.1-gd php8.1-imagick && \
rm -rf /var/cache/apk/*
# Set up nginx
COPY ./docker/nginx.conf /etc/nginx/nginx.conf