Skip to content

Commit

Permalink
Add default workdir Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
agung2001 committed Dec 15, 2022
1 parent c1644f1 commit bab993f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
FROM php:8.2-cli-alpine3.16

WORKDIR /app

RUN apk update && apk add \
bash \
wget curl \
git \
zip unzip \
nodejs npm

# # composer
# composer
RUN curl -o /tmp/composer-setup.php https://getcomposer.org/installer \
&& curl -o /tmp/composer-setup.sig https://composer.github.io/installer.sig \
&& php -r "if (hash('SHA384', file_get_contents('/tmp/composer-setup.php')) !== trim(file_get_contents('/tmp/composer-setup.sig'))) { unlink('/tmp/composer-setup.php'); echo 'Invalid installer' . PHP_EOL; exit(1); }" \
Expand Down

0 comments on commit bab993f

Please sign in to comment.