File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,8 @@ COPY --from=builder /root/.local/bin /service
4646COPY --from=builder /app/config /service/config
4747
4848COPY --from=builder /app/static /service/static
49- RUN chown -R service:service /service/static
49+ RUN mkdir -p /data/uploads
50+ RUN chown -R service:service /service/static /data
5051
5152COPY cleanup/cleanup.sh /service/cleanup.sh
5253RUN chmod +x /service/cleanup.sh
Original file line number Diff line number Diff line change 33services :
44 timetype :
55 build : .
6+ read_only : true
67 volumes :
78 - ./data:/data:rw
9+ tmpfs :
10+ - /var/run
11+ - /service/static/tmp
812 ports :
913 - " 4711:3000"
1014 restart : unless-stopped
1115 environment :
16+ # Yesod
1217 YESOD_PORT : 3000
1318 YESOD_HOST : 0.0.0.0
1419 YESOD_DATA_DIR : /data
Original file line number Diff line number Diff line change 22set -e
33set -x
44
5- chown -R service:service " /data/"
6-
75cron
86
97exec su -s /bin/sh -c ' /service/timetype' service
You can’t perform that action at this time.
0 commit comments