Skip to content

Commit 3458f8e

Browse files
committed
Remove yarn cache.
Also removes some things that made it fail locallay for me.
1 parent 10d1cb6 commit 3458f8e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.docker/app/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,9 @@ RUN apk add -U --no-cache \
5151
if [ "${RAILS_ENV}" = "production" ]; then apk del build-dependencies; fi && \
5252
rm -rf /var/cache/apk/ && \
5353
mkdir -p /secure-tmp && chmod 700 /secure-tmp && \
54-
mkdir -p /secure-tmp/log && chmod 700 /secure-tmp/log && \
55-
rails users:sync_initial
54+
mkdir -p /secure-tmp/log && chmod 700 /secure-tmp/log
5655

57-
USER 65534:65534
56+
USER nobody:nobody
5857

5958
ENTRYPOINT [".docker/app/entrypoint.sh"]
6059
EXPOSE 3000

0 commit comments

Comments
 (0)