eggacheb commited on
Commit
c2397c6
·
verified ·
1 Parent(s): 5710767

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use the edgeneko/neko-image-gallery image as base
2
+ FROM edgeneko/neko-image-gallery:latest-cpu
3
+
4
+ # Set working directory
5
+ WORKDIR /opt/NekoImageGallery
6
+
7
+ VOLUME ["/opt/NekoImageGallery/static"]
8
+
9
+ # Copy static files
10
+ COPY ./static /opt/NekoImageGallery/static
11
+
12
+ # Expose port
13
+ EXPOSE 8000
14
+
15
+ # Start the application
16
+ CMD ["python", "app.py"]