Updated Dockerfile
This commit is contained in:
@@ -24,8 +24,8 @@ RUN npm run build
|
|||||||
|
|
||||||
|
|
||||||
FROM nginx:latest AS prod
|
FROM nginx:latest AS prod
|
||||||
RUN apt update \
|
RUN apt-get update
|
||||||
&& apt upgrade -y \
|
RUN apt-get upgrade -y
|
||||||
COPY --from=builder /usr/src/app/dist /usr/share/nginx/html
|
COPY --from=builder /usr/src/app/dist /usr/share/nginx/html
|
||||||
ADD default.conf /etc/nginx/conf.d/default.conf
|
ADD default.conf /etc/nginx/conf.d/default.conf
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user