build: reduce docker container size
This commit is contained in:
@ -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