-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
40 changed files
with
4,857 additions
and
3,231 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM php:8.2-cli | ||
|
||
# Install Git and other dependencies | ||
RUN apt-get update && apt-get install -y \ | ||
git \ | ||
zip \ | ||
unzip \ | ||
libssh2-1-dev \ | ||
&& docker-php-ext-install ftp \ | ||
&& pecl install ssh2-1.3.1 \ | ||
&& docker-php-ext-enable ssh2 | ||
|
||
# Configure Git | ||
RUN git config --global user.email "[email protected]" \ | ||
&& git config --global user.name "PHPloy Test" | ||
|
||
WORKDIR /app | ||
|
||
# Install composer | ||
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer | ||
|
||
# Copy composer files | ||
COPY composer.json composer.lock ./ | ||
|
||
# Install dependencies | ||
RUN composer install --no-interaction --no-plugins --no-scripts | ||
|
||
# Copy the rest of the application | ||
COPY . . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.