File tree Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -77,4 +77,4 @@ RUN mkdir -p content
77
77
78
78
EXPOSE 3000
79
79
ENTRYPOINT ["/usr/src/app/docker-entrypoint.sh" ]
80
- CMD ["--help " ]
80
+ CMD ["serve " ]
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
# .github/docker-entrypoint.sh
3
3
4
- # Check if running from correct directory structure
5
- if [ ! -d " /usr/src/app/content" ]; then
6
- echo " Error: content directory not mounted. Did you run from autoshow root with proper volume mount?"
7
- exit 1
8
- fi
9
-
10
4
# If first argument is "serve", then start the server.
11
5
if [ " $1 " = " serve" ]; then
12
6
echo " Starting Autoshow server..."
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ async function start() {
40
40
// Start the server
41
41
await fastify . listen ( {
42
42
port, // Use configured port
43
- host : '::' , // Listen on all network interfaces
43
+ host : '0.0.0.0' , // Listen on all network interfaces
44
44
} )
45
45
46
46
// Log successful server start
You can’t perform that action at this time.
0 commit comments