Spaces:
Running
Running
Create Dockerfile
Browse files- 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"]
|