Configure /data as a volume.
This commit is contained in:
@@ -26,8 +26,7 @@ COPY . .
|
|||||||
# Create the SQLite database directory with proper permissions
|
# Create the SQLite database directory with proper permissions
|
||||||
RUN mkdir -p /app/instance && chmod 777 /app/instance
|
RUN mkdir -p /app/instance && chmod 777 /app/instance
|
||||||
|
|
||||||
RUN mkdir /data
|
VOLUME /data
|
||||||
RUN chmod 777 /data
|
|
||||||
|
|
||||||
# Expose the port the app runs on
|
# Expose the port the app runs on
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
|
|||||||
Reference in New Issue
Block a user