1
This commit is contained in:
@ -8,6 +8,6 @@ RUN npm run build
|
|||||||
FROM nginx:1.25.4-alpine
|
FROM nginx:1.25.4-alpine
|
||||||
COPY --from=build /app/dist /usr/share/nginx/html
|
COPY --from=build /app/dist /usr/share/nginx/html
|
||||||
RUN rm /etc/nginx/conf.d/default.conf
|
RUN rm /etc/nginx/conf.d/default.conf
|
||||||
COPY ./nginx.conf /etc/nginx/conf.d
|
COPY ./nginx/nginx.conf /etc/nginx/conf.d
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
CMD ["nginx", "-g", "daemon off;"]
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
|
|||||||
Reference in New Issue
Block a user