Skip to content

Commit

Permalink
Merge pull request #63 from activepieces/mrsk
Browse files Browse the repository at this point in the history
fix: curl and localhost
  • Loading branch information
abuaboud authored Sep 30, 2023
2 parents e2e08b9 + 545cdfe commit d500ed9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM node:18-slim AS base
RUN apt-get update && apt-get install -y curl

# Install dependencies only when needed
FROM base AS deps
Expand All @@ -20,7 +21,6 @@ WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .

RUN apt-get update && apt-get install -y curl
# Next.js collects completely anonymous telemetry data about general usage.
# Learn more here: https://nextjs.org/telemetry
# Uncomment the following line in case you want to disable telemetry during the build.
Expand Down Expand Up @@ -52,6 +52,7 @@ COPY --from=builder /app/.next/static ./.next/static


ENV PORT 3000
ENV HOSTNAME localhost

# Set up entrypoint script
COPY docker-entrypoint.sh /
Expand Down

0 comments on commit d500ed9

Please sign in to comment.