Skip to content

Commit

Permalink
fix ENV in Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: OMPRAKASH MISHRA <[email protected]>
  • Loading branch information
mishraomp committed Jul 18, 2024
1 parent 76e1750 commit 37d39ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ COPY ./src ./src
EXPOSE 3000

USER 1001
RUN export NODE_OPTIONS="--require @opentelemetry/auto-instrumentations-node/register"
ENV NODE_OPTIONS "--require @opentelemetry/auto-instrumentations-node/register"
# Start up command
HEALTHCHECK --interval=30s --timeout=3s CMD curl -f http://localhost/:3000
CMD ["--max-old-space-size=100", "src/server"]

0 comments on commit 37d39ae

Please sign in to comment.