Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
orhanerday committed Feb 27, 2023
1 parent 134eaa3 commit afac52d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM php:8.1

WORKDIR /home/php/app

COPY . .

RUN apt-get update && apt-get install -y \
libsqlite3-dev \
libzip-dev \
unzip \
&& docker-php-ext-install pdo_sqlite zip

# Install Composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN composer update
CMD php -S 0.0.0.0:8000 -t .
EXPOSE 8000

0 comments on commit afac52d

Please sign in to comment.