build: reduce docker container size
This commit is contained in:
1 parent
4b47cf9c96
commit
f10abd86b2
1 file changed
+1
-1
+1
-1
@@ -8,7 +8,7 @@ RUN npm ci
|
|||||||
COPY ./ ./
|
COPY ./ ./
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
FROM nginx
|
FROM nginx:alpine-slim
|
||||||
COPY <<EOF /etc/nginx/conf.d/default.conf
|
COPY <<EOF /etc/nginx/conf.d/default.conf
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
|
|||||||
Reference in new issue
Block a user