create a new method for inferring the PPID
This commit is contained in:
@@ -9,8 +9,6 @@ RUN <<EOT
|
||||
apk upgrade --no-cache
|
||||
EOT
|
||||
|
||||
RUN mkdir -p /run/app
|
||||
|
||||
|
||||
FROM base AS build
|
||||
|
||||
@@ -40,10 +38,6 @@ FROM base
|
||||
# RUN useradd ruby --home /app --shell /bin/sh
|
||||
RUN adduser ruby -h /app -D
|
||||
|
||||
RUN mkdir -p /run/app
|
||||
|
||||
RUN chown ruby:ruby /run/app
|
||||
|
||||
USER ruby:ruby
|
||||
|
||||
COPY --from=build /usr/local/bundle /usr/local/bundle
|
||||
|
Reference in New Issue
Block a user