test
This commit is contained in:
12
Dockerfile
12
Dockerfile
@@ -15,7 +15,11 @@ RUN apk add --no-cache \
|
|||||||
php84-tokenizer \
|
php84-tokenizer \
|
||||||
php84-xml \
|
php84-xml \
|
||||||
php84-xmlwriter \
|
php84-xmlwriter \
|
||||||
|
php84-xmlreader \
|
||||||
|
php84-dom \
|
||||||
php84-session \
|
php84-session \
|
||||||
|
php84-fileinfo \
|
||||||
|
php84-openssl \
|
||||||
git \
|
git \
|
||||||
curl
|
curl
|
||||||
|
|
||||||
@@ -23,13 +27,13 @@ RUN ln -sf /usr/bin/php84 /usr/bin/php
|
|||||||
|
|
||||||
WORKDIR /var/www
|
WORKDIR /var/www
|
||||||
|
|
||||||
# Copy with explicit error handling
|
# Copy the application files
|
||||||
COPY --chown=root:root . /var/www || true
|
COPY --chown=root:root . .
|
||||||
|
|
||||||
COPY --from=docker.io/composer:latest /usr/bin/composer /usr/bin/composer
|
COPY --from=docker.io/composer:latest /usr/bin/composer /usr/bin/composer
|
||||||
|
|
||||||
RUN rm -rf /app/.circleci /app/.github 2>/dev/null || true && \
|
RUN rm -rf .circleci .github 2>/dev/null || true && \
|
||||||
chmod -R 775 /app/storage /app/bootstrap/cache 2>/dev/null || true
|
chmod -R 775 storage bootstrap/cache 2>/dev/null || true
|
||||||
|
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user