File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,15 +50,7 @@ RUN apk add -U --no-cache \
5050 if [ "${RAILS_ENV}" = "production" ]; then rm -rf tmp/*; fi && \
5151 if [ "${RAILS_ENV}" = "production" ]; then apk del build-dependencies; fi && \
5252 rm -rf /var/cache/apk/ && \
53- <<<<<<< Updated upstream
54- mkdir -p /secure-tmp && chmod 700 /secure-tmp && \
55- mkdir -p /secure-tmp/log && chmod 700 /secure-tmp/log
56- =======
57- mkdir -p /secure-tmp && \
58- chown 65534:65534 /secure-tmp && \
59- chmod 700 /secure-tmp && \
6053 rails users:sync_initial
61- >>>>>>> Stashed changes
6254
6355USER 65534:65534
6456
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -e
33
4- <<< <<< < Updated upstream
5- rails db:prepare
6- rails users:sync_initial
7- =======
4+ mkdir -p /secure-tmp
5+ chmod 700 /secure-tmp
86mkdir -p /secure-tmp/log
97chmod 700 /secure-tmp/log
108
119rails db:migrate 2> /dev/null || rails db:setup
12- >>>>>>> Stashed changes
1310rm -f /app/.internal_test_app/tmp/pids/server.pid
1411
1512exec " $@ "
You can’t perform that action at this time.
0 commit comments