Skip to content

Commit 5a584c5

Browse files
authored
Fix Dockerfile for podman too (#583)
1 parent 283df0a commit 5a584c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ ENV NODE_OPTIONS="--max-old-space-size=4096"
88
RUN npm run build
99

1010
# Stage 2: Setup the Nginx Server to serve the app
11-
FROM nginx:stable-alpine3.17 AS production
11+
FROM docker.io/library/nginx:stable-alpine3.17 AS production
1212
COPY --from=build /app/dist /usr/share/nginx/html
1313
RUN echo 'server { listen 80; server_name _; root /usr/share/nginx/html; location / { try_files $uri /index.html; } }' > /etc/nginx/conf.d/default.conf
1414
EXPOSE 80
15-
CMD ["nginx", "-g", "daemon off;"]
15+
CMD ["nginx", "-g", "daemon off;"]

0 commit comments

Comments
 (0)