Skip to content

Commit

Permalink
move copy
Browse files Browse the repository at this point in the history
  • Loading branch information
Boy132 authored Jan 7, 2025
1 parent d50906c commit f5b9bb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ COPY Caddyfile /etc/caddy/Caddyfile
# Copy the application code to the container
COPY . .

COPY --from=yarn /build/public/assets ./public/assets

RUN touch .env

RUN composer install --no-dev --optimize-autoloader
Expand All @@ -42,6 +40,8 @@ RUN yarn run build

WORKDIR /var/www/html

COPY --from=yarn /build/public/assets ./public/assets

# Set file permissions
RUN chmod -R 755 storage bootstrap/cache \
&& chown -R www-data:www-data ./
Expand Down

0 comments on commit f5b9bb9

Please sign in to comment.