Fix jwt-token
This commit is contained in:
@@ -19,10 +19,12 @@ COPY . .
|
||||
# Build arguments for environment variables
|
||||
ARG VITE_API_URL=http://localhost:3001/api
|
||||
ARG VITE_WS_URL=ws://localhost:3001
|
||||
ARG NODE_ENV=production
|
||||
|
||||
# Set environment variables for build
|
||||
ENV VITE_API_URL=$VITE_API_URL
|
||||
ENV VITE_WS_URL=$VITE_WS_URL
|
||||
ENV NODE_ENV=$NODE_ENV
|
||||
|
||||
# Build the application
|
||||
RUN npm run build
|
||||
|
||||
Reference in New Issue
Block a user