Added volume definition to dockerfile for session persistence regardless of volume mount status at runtime

This commit is contained in:
Brad Ganley 2025-01-03 14:27:15 -06:00
parent 49b97915b0
commit 92c366b724

@ -1,6 +1,8 @@
FROM oven/bun:latest AS base
WORKDIR /usr/src/app
#Persistent session data
RUN mkdir /sessionData && chmod 777 /sessionData
VOLUME /sessionData
# install dependencies into temp directory
# this will cache them and speed up future builds
FROM base AS install