From 1777e28f788d60c20f110e376705d60fdc987e9a Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Tue, 10 Dec 2024 22:58:29 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1dfd101..a99f3c3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,10 +5,10 @@ COPY ./ /usr/local/app/ RUN npm install --save-dev RUN npm run build -FROM nginx:alpine +FROM nginx:latest RUN rm -rf /usr/share/nginx/html/* COPY --from=build /usr/local/app/build/ /usr/share/nginx/html COPY nginx/nginx.conf /etc/nginx/conf.d/default.conf -RUN rc-service nginx restart +RUN service nginx restart EXPOSE 80