Skip to content

Commit 3b74b83

Browse files
committed
Merge branch 'feature/docker-overhaull' of github.com:connorabbas/laravel-primevue-starter-kit into feature/docker-overhaull
2 parents c2d4516 + 9badcf7 commit 3b74b83

1 file changed

Lines changed: 23 additions & 3 deletions

File tree

Dockerfile

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ WORKDIR /var/www/html
2121
COPY package*.json ./
2222
RUN npm ci
2323
COPY --from=composer /var/www/html/vendor/tightenco/ziggy ./vendor/tightenco/ziggy
24-
COPY vite.config.js ./
24+
COPY vite.config.ts ./
2525
COPY resources ./resources
2626
RUN npm run build
2727

@@ -30,11 +30,31 @@ FROM base AS development
3030
ARG USER_ID
3131
ARG GROUP_ID
3232
USER root
33-
RUN apk add --no-cache curl git bash gnupg postgresql-client openssh-client \
33+
RUN apk update \
34+
&& apk add --no-cache curl git bash gnupg postgresql-client openssh-client \
3435
&& apk add --no-cache --virtual .build-deps build-base autoconf \
3536
&& install-php-extensions xdebug \
37+
bcmath \
38+
gd \
39+
intl \
40+
mysqli \
41+
pdo_mysql \
42+
curl \
43+
dom \
44+
fileinfo \
45+
filter \
46+
hash \
47+
mbstring \
48+
openssl \
49+
pcre \
50+
session \
51+
xml \
52+
redis \
53+
opcache \
54+
zip \
55+
exif \
3656
&& rm -rf /var/cache/apk/* \
37-
&& apk del .build-deps
57+
&& apk del --force-broken-world .build-deps
3858
COPY --from=node /usr/lib /usr/lib
3959
COPY --from=node /usr/local/lib /usr/local/lib
4060
COPY --from=node /usr/local/include /usr/local/include

0 commit comments

Comments
 (0)