1
0
mirror of https://github.com/keeweb/keeweb.git synced 2024-06-20 06:56:40 +02:00

Ask apk to leave no cache in Dockerfile

This will make the image smaller
This commit is contained in:
Peter Dave Hello 2020-11-30 01:51:47 +08:00 committed by GitHub
parent 5d3e110a9e
commit 57296ba313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,11 +17,11 @@ FROM armhf/alpine:latest
MAINTAINER Antelle "antelle.net@gmail.com"
# install nginx
RUN apk add --update bash nginx && \
RUN apk add --no-cache bash nginx && \
mkdir -p /run/nginx/
# install
RUN apk add --update openssl wget unzip ca-certificates
RUN apk add --no-cache openssl wget unzip ca-certificates
# setup nginx
RUN rm -rf /etc/nginx/conf.d/*; \