Skip to content

Commit

Permalink
Added env var at the top also
Browse files Browse the repository at this point in the history
  • Loading branch information
Freshenext committed Jul 17, 2024
1 parent f19015e commit b0f5236
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Use the official Node.js 18 image as a base
FROM node:18-alpine AS builder

# Set the environment variable
ARG arg_env
ENV NODE_ENV="$arg_env"

# Set the working directory
WORKDIR /app

Expand Down

0 comments on commit b0f5236

Please sign in to comment.