Skip to content

Commit

Permalink
re-add pipefail
Browse files Browse the repository at this point in the history
  • Loading branch information
Miko committed Dec 27, 2024
1 parent d03083d commit 66c5b3a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ FROM ubuntu:jammy AS builder

ENV NODE_ENV="production"

SHELL ["/bin/bash", "-o", "pipefail", "-c"]

RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get install -y --no-install-recommends --no-install-suggests \
Expand Down Expand Up @@ -59,6 +61,8 @@ ENV \
CHOKIDAR_USEPOLLING=1 \
CHOKIDAR_INTERVAL=500

SHELL ["/bin/bash", "-o", "pipefail", "-c"]

RUN export DEBIAN_FRONTEND=noninteractive && \
groupadd -r node && \
useradd -r -g node node && \
Expand Down

0 comments on commit 66c5b3a

Please sign in to comment.