Spaces:
Sleeping
Sleeping
Commit
·
ffa8ccf
1
Parent(s):
0803ecf
Updated. Added --no-cache
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -30,7 +30,7 @@ ARG APP_ENV
|
|
30 |
RUN --mount=type=secret,id=GITHUB_PAT \
|
31 |
if [ "$APP_ENV" != "local" ] ; then \
|
32 |
rm -rf /app/* /app/.* || true && \
|
33 |
-
git clone https://lucianotonet:$(cat /run/secrets/GITHUB_PAT)@github.com/agenciamav/app.agenciamav.com.br.git . ; \
|
34 |
fi
|
35 |
|
36 |
# If local, just copy the files
|
@@ -61,4 +61,4 @@ COPY start.sh /start.sh
|
|
61 |
RUN chmod +x /start.sh
|
62 |
|
63 |
# Run the script when the container starts
|
64 |
-
CMD ["/start.sh"]
|
|
|
30 |
RUN --mount=type=secret,id=GITHUB_PAT \
|
31 |
if [ "$APP_ENV" != "local" ] ; then \
|
32 |
rm -rf /app/* /app/.* || true && \
|
33 |
+
git clone --no-cache https://lucianotonet:$(cat /run/secrets/GITHUB_PAT)@github.com/agenciamav/app.agenciamav.com.br.git . ; \
|
34 |
fi
|
35 |
|
36 |
# If local, just copy the files
|
|
|
61 |
RUN chmod +x /start.sh
|
62 |
|
63 |
# Run the script when the container starts
|
64 |
+
CMD ["/start.sh"]
|