Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -18,6 +18,7 @@ VOLUME /data
|
|
| 18 |
|
| 19 |
# Copy the rest of the application files to the container
|
| 20 |
COPY --chown=1000 . .
|
|
|
|
| 21 |
|
| 22 |
# Build the Next.js application for production
|
| 23 |
RUN npm run build
|
|
@@ -26,4 +27,4 @@ RUN npm run build
|
|
| 26 |
EXPOSE 5555
|
| 27 |
|
| 28 |
# Start the application
|
| 29 |
-
CMD ["
|
|
|
|
| 18 |
|
| 19 |
# Copy the rest of the application files to the container
|
| 20 |
COPY --chown=1000 . .
|
| 21 |
+
RUN chmod +x entrypoint.sh
|
| 22 |
|
| 23 |
# Build the Next.js application for production
|
| 24 |
RUN npm run build
|
|
|
|
| 27 |
EXPOSE 5555
|
| 28 |
|
| 29 |
# Start the application
|
| 30 |
+
CMD ["entrypoint.sh"]
|