We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 283df0a commit 5a584c5Copy full SHA for 5a584c5
Dockerfile
@@ -8,8 +8,8 @@ ENV NODE_OPTIONS="--max-old-space-size=4096"
8
RUN npm run build
9
10
# Stage 2: Setup the Nginx Server to serve the app
11
-FROM nginx:stable-alpine3.17 AS production
+FROM docker.io/library/nginx:stable-alpine3.17 AS production
12
COPY --from=build /app/dist /usr/share/nginx/html
13
RUN echo 'server { listen 80; server_name _; root /usr/share/nginx/html; location / { try_files $uri /index.html; } }' > /etc/nginx/conf.d/default.conf
14
EXPOSE 80
15
-CMD ["nginx", "-g", "daemon off;"]
+CMD ["nginx", "-g", "daemon off;"]
0 commit comments