Skip to content

Commit

Permalink
fix: Logical corrections & syntax errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gtoxlili committed May 25, 2023
1 parent 786d629 commit e33ad07
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ COPY --from=builder /app/.next/server ./.next/server
EXPOSE 3000

CMD if [ -n "$PROXY_URL" ]; then \
if [ -z "$HOSTNAME" ]; then \
export HOSTNAME="127.0.0.1"; \
fi; \
export HOSTNAME="127.0.0.1"; \
protocol=$(echo $PROXY_URL | cut -d: -f1); \
host=$(echo $PROXY_URL | cut -d/ -f3 | cut -d: -f1); \
port=$(echo $PROXY_URL | cut -d: -f3); \
Expand Down

0 comments on commit e33ad07

Please sign in to comment.