This commit is contained in:
Irwan Cahyono 2025-08-08 12:57:48 +07:00
parent 94c8351994
commit 16662bd65b

View File

@ -18,10 +18,10 @@ RUN rm -rf /usr/share/nginx/html/* && \
# COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/conf.d/
COPY --from=builder /app/.output/public /usr/share/nginx/html
COPY --from=builder /app/.output/public /var/www/html
RUN chown -R nginx:nginx /usr/share/nginx/html && \
chmod -R 755 /usr/share/nginx/html
RUN chown -R nginx:nginx /var/www/html && \
chmod -R 755 /var/www/html
EXPOSE 80