Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
agung2001 committed Mar 12, 2024
2 parents f789021 + 04c2737 commit 8094b36
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.2-fpm
FROM php:8.3-fpm

WORKDIR /app

Expand All @@ -13,15 +13,16 @@ RUN apt-get update && apt-get install -y \
gnupg \
build-essential \
zip unzip \
zlib1g-dev

# node
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - \
&& apt-get install -y nodejs
zlib1g-dev \
nodejs \
npm

# update npm to last version
RUN npm i -g npm

# install pnpm via npm
RUN npm install -g pnpm

# composer
RUN curl -o /tmp/composer-setup.php https://getcomposer.org/installer \
&& curl -o /tmp/composer-setup.sig https://composer.github.io/installer.sig \
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Isolated environment for building javascript and php project
<td class="grid grid-cols-6">
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/composer/composer-original.svg" alt="Composer" height="20">
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/nodejs/nodejs-original.svg" alt="Node Js" height="20">
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/pnpm/pnpm-original.svg" alt="PNPM" height="20" />
</td>
</tr>
</tbody>
Expand All @@ -28,6 +29,7 @@ docker run --rm --interactive --tty \
- Sample Command :
- Composer : `composer update`
- Node : `npm i`
- PNPM : `pnpm i`

## 🔥 Development
- Manually build package : `docker-compose up --build`

0 comments on commit 8094b36

Please sign in to comment.