Added arguments to the Dockerfile

This commit is contained in:
Tiago Ribeiro
2024-03-19 13:43:29 +00:00
parent 5ee1364afb
commit 0901c5b186
2 changed files with 10 additions and 7 deletions

View File

@@ -49,6 +49,9 @@ COPY --from=builder --chown=1001:1001 /app/.next/static ./.next/static
USER nextjs
ARG STRAPI_URL=http://localhost:1337
ARG STRAPI_TOKEN=TOKEN
EXPOSE 3000
ENV PORT 3000