Skip to content

larvatecn/docker-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

基础的PHP镜像

Docker Image CI Docker Release

基础PHP镜像,包含 PHP7.4、PHP8.0、PHP8.1、PHP8.2、PHP8.3。

使用

Create a Dockerfile in your PHP project

FROM FROM ghcr.io/larvatecn/php:7.4
COPY . /app
WORKDIR /app
CMD [ "php", "./your-script.php" ]
FROM FROM ghcr.io/larvatecn/php:8.0
COPY . /app
WORKDIR /app
CMD [ "php", "./your-script.php" ]
FROM FROM ghcr.io/larvatecn/php:8.1
COPY . /app
WORKDIR /app
CMD [ "php", "./your-script.php" ]
FROM FROM ghcr.io/larvatecn/php:8.2
COPY . /app
WORKDIR /app
CMD [ "php", "./your-script.php" ]
FROM FROM ghcr.io/larvatecn/php:8.3
COPY . /app
WORKDIR /app
CMD [ "php", "./your-script.php" ]

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 3

  •  
  •  
  •