diff --git a/Dockerfile b/Dockerfile index c83a954..03495ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -55,14 +55,6 @@ FROM base AS application COPY --from=build "${BUNDLE_PATH}" "${BUNDLE_PATH}" COPY --from=build /rails /rails -# Create an application-specific user. -RUN addgroup --system rails \ - && adduser -G rails --system rails \ - && chown -R rails:rails db log storage tmp - -# Switch to the user. -USER rails:rails - # Set a custom entrypoint. ENTRYPOINT ["bin/docker-entrypoint"]