Skip to content

Commit e33ad07

Browse files
committed
fix: Logical corrections & syntax errors
1 parent 786d629 commit e33ad07

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Dockerfile

+1-3
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ COPY --from=builder /app/.next/server ./.next/server
4141
EXPOSE 3000
4242

4343
CMD if [ -n "$PROXY_URL" ]; then \
44-
if [ -z "$HOSTNAME" ]; then \
45-
export HOSTNAME="127.0.0.1"; \
46-
fi; \
44+
export HOSTNAME="127.0.0.1"; \
4745
protocol=$(echo $PROXY_URL | cut -d: -f1); \
4846
host=$(echo $PROXY_URL | cut -d/ -f3 | cut -d: -f1); \
4947
port=$(echo $PROXY_URL | cut -d: -f3); \

0 commit comments

Comments
 (0)