Change nginx base to alpine
Changed nginx to use alpine instead of debian/ubuntu Image size is 93MB smaller and build time is shorter.
This commit is contained in:
1 parent
36e308d11d
commit
8469d1c477
1 file changed
+2
-2
+2
-2
@@ -1,2 +1,2 @@
|
||||
FROM nginx:1.21.6
|
||||
COPY ./out /usr/share/nginx/html
|
||||
FROM nginx:alpine
|
||||
COPY ./out /usr/share/nginx/html
|
||||
Reference in new issue
Block a user