move bash install into previous RUN command

This commit is contained in:
kaysond 2021-11-25 11:03:55 -08:00 committed by nitnelave
parent 859ed97ca8
commit 656451435e

View File

@ -52,9 +52,8 @@ RUN set -x \
--uid 10001 \ --uid 10001 \
app \ app \
# Create the /data folder # Create the /data folder
&& mkdir /data && chown app:app /data && mkdir /data && chown app:app /data \
&& apk add --no-cache bash
RUN apk add --no-cache bash
USER app USER app
WORKDIR /app WORKDIR /app