Fix issue with localhost refs
This commit is contained in:
+2
-2
@@ -12,8 +12,8 @@ COPY . .
|
||||
# Expose port
|
||||
EXPOSE 3050
|
||||
|
||||
# Set environment variable for API URL
|
||||
ENV VITE_API_URL=http://localhost:3051/api
|
||||
# Set environment variable for API URL (relative to the frontend host)
|
||||
ENV VITE_API_URL=/api
|
||||
|
||||
# Start development server
|
||||
CMD ["npm", "start"]
|
||||
|
||||
Reference in New Issue
Block a user