Skip to content

Commit

Permalink
Finalize image test and build
Browse files Browse the repository at this point in the history
  • Loading branch information
agung2001 committed Dec 15, 2022
1 parent bff219a commit e309ca5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 14 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,27 @@
FROM php:8.2-cli
FROM php:8.2-fpm

WORKDIR /app

RUN apt-get update && apt-get install -y \
apt-utils \
git \
zip unzip
jq \
libfreetype6-dev \
libjpeg62-turbo-dev \
libmemcached-dev \
libpng-dev \
gnupg \
build-essential \
zip unzip \
zlib1g-dev

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

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

# 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 docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ services:
container_name: kuli
image: ghcr.io/artistudioxyz/kuli:latest
build: .
volumes:
- /home/ubuntu:/home/ubuntu
restart: always

0 comments on commit e309ca5

Please sign in to comment.