Spaces:
Sleeping
Sleeping
Commit
·
3a69aae
1
Parent(s):
6def1b8
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -1,4 +1,7 @@
|
|
1 |
-
FROM php:8.
|
|
|
|
|
|
|
2 |
|
3 |
RUN apt-get update && apt-get install -y \
|
4 |
libonig-dev \
|
@@ -15,9 +18,6 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local
|
|
15 |
|
16 |
WORKDIR /app
|
17 |
|
18 |
-
ARG CACHEBUST=1
|
19 |
-
RUN echo "Cache bust: $CACHEBUST" > /dev/null
|
20 |
-
|
21 |
RUN --mount=type=secret,id=GITHUB_PAT \
|
22 |
rm -rf /app/* /app/.* || true && \
|
23 |
git clone https://lucianotonet:$(cat /run/secrets/GITHUB_PAT)@github.com/agenciamav/app.agenciamav.com.br.git .
|
|
|
1 |
+
FROM php:8.2-fpm
|
2 |
+
|
3 |
+
ARG CACHEBUST=2
|
4 |
+
RUN echo "Cache bust: $CACHEBUST" > /dev/null
|
5 |
|
6 |
RUN apt-get update && apt-get install -y \
|
7 |
libonig-dev \
|
|
|
18 |
|
19 |
WORKDIR /app
|
20 |
|
|
|
|
|
|
|
21 |
RUN --mount=type=secret,id=GITHUB_PAT \
|
22 |
rm -rf /app/* /app/.* || true && \
|
23 |
git clone https://lucianotonet:$(cat /run/secrets/GITHUB_PAT)@github.com/agenciamav/app.agenciamav.com.br.git .
|