This commit is contained in:
franknstayn
2023-08-28 04:20:39 +08:00
parent 69c83ba408
commit 11c0567766
3 changed files with 8 additions and 2 deletions

View File

@@ -21,6 +21,7 @@ WORKDIR /var/www/html
# Copy Nginx config
COPY default.conf /etc/nginx/conf.d/default.conf
COPY entrypoint.sh /etc/entrypoint.sh
# Copy the Laravel application files to the container
COPY . .
@@ -42,5 +43,5 @@ EXPOSE 80
EXPOSE 9001
# Start PHP-FPM
CMD ["php-fpm"]
ENTRYPOINT ["/etc/entrypoint.sh"]