Use alpine nginx and fix issue with port
This commit is contained in:
@@ -13,7 +13,7 @@ COPY *.js ./
|
||||
|
||||
RUN npm run build
|
||||
|
||||
FROM nginxinc/nginx-unprivileged:1.20-alpine AS production
|
||||
FROM nginx:stable-alpine AS production
|
||||
|
||||
COPY --from=build-stage /app/build /usr/share/nginx/html
|
||||
EXPOSE 8080
|
||||
EXPOSE 80
|
||||
|
||||
Reference in New Issue
Block a user