This commit is contained in:
parent
96c0f677aa
commit
4b9c0c72e5
1 changed files with 2 additions and 2 deletions
|
|
@ -76,8 +76,8 @@ COPY --from=build "${BUNDLE_PATH}" "${BUNDLE_PATH}"
|
||||||
COPY --from=build /rails /rails
|
COPY --from=build /rails /rails
|
||||||
|
|
||||||
# Add build information so we can check if the deployment works
|
# Add build information so we can check if the deployment works
|
||||||
RUN echo "Commit SHA: ${COMMIT_SHA}" > /app/public/versioninfo && \
|
RUN echo "Commit SHA: ${COMMIT_SHA}" > /rails/public/versioninfo && \
|
||||||
echo "Build Date: ${BUILD_DATE}" >> /app/public/versioninfo
|
echo "Build Date: ${BUILD_DATE}" >> /rails/public/versioninfo
|
||||||
|
|
||||||
# Run and own only the runtime files as a non-root user for security
|
# Run and own only the runtime files as a non-root user for security
|
||||||
RUN groupadd --system --gid 1000 rails && \
|
RUN groupadd --system --gid 1000 rails && \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue