This repository has been archived on 2024-09-11. You can view files and clone it, but cannot push or open issues or pull requests.
php-fpm-nginx/Dockerfile.ubuntu

22 lines
474 B
Docker

ARG PHP_VERSION=8.3
ARG REGISTRY_URL=git.winteraccess.id/docker
FROM ${REGISTRY_URL}/php-fpm:${PHP_VERSION}-ubuntu
LABEL maintainer="<Muhamad Aditya Prima> aprimediet@gmail.com"
# Set workdir
WORKDIR /usr/www
# INSTALL BASE DEPENDENCIES
RUN --mount=type=cache,target=/var/cache/apt/archives \
apt -y update && apt -y upgrade && apt -y install \
nginx openssl
# COPY CONFIGURATION FILES
ADD ./etc /etc
ADD ./usr /usr
# CLEAN APT CACHE
RUN apt -y clean
EXPOSE 80