Fix nginx config for proxy to API server
This commit is contained in:
@@ -8,6 +8,7 @@ COPY . ./
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:alpine-slim
|
||||
RUN rm -f /etc/nginx/nginx.conf
|
||||
COPY ./nginx.conf /etc/nginx/nginx.conf
|
||||
COPY --from=build /app/build /usr/share/nginx/html
|
||||
RUN chown -R nginx:nginx /usr/share/nginx/html
|
||||
Reference in New Issue
Block a user