Skip to content

Commit 37b743f

Browse files
committed
update due to volume mount replacing folder
1 parent d81f382 commit 37b743f

2 files changed

Lines changed: 2 additions & 13 deletions

File tree

.docker/app/Dockerfile

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff 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

6355
USER 65534:65534
6456

.docker/app/entrypoint.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
#!/usr/bin/env bash
22
set -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
86
mkdir -p /secure-tmp/log
97
chmod 700 /secure-tmp/log
108

119
rails db:migrate 2>/dev/null || rails db:setup
12-
>>>>>>> Stashed changes
1310
rm -f /app/.internal_test_app/tmp/pids/server.pid
1411

1512
exec "$@"

0 commit comments

Comments
 (0)