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 \
app \
# Create the /data folder
&& mkdir /data && chown app:app /data
RUN apk add --no-cache bash
&& mkdir /data && chown app:app /data \
&& apk add --no-cache bash
USER app
WORKDIR /app