mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
ci: updated Dockerfile
This commit is contained in:
@@ -1 +1 @@
|
||||
VUE_APP_API_BASE_URL=
|
||||
VITE_APP_API_BASE_URL=
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
NODE_ENV='analyze'
|
||||
VUE_APP_API_BASE_URL=http://localhost:8000
|
||||
@@ -1 +1 @@
|
||||
VUE_APP_API_BASE_URL=http://localhost:8000
|
||||
VITE_APP_API_BASE_URL=http://localhost:8000
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
# Build stage
|
||||
FROM node:20-alpine AS build
|
||||
|
||||
# Arguments and environment variables for building packages
|
||||
ARG VITE_APP_API_BASE_URL=/api
|
||||
ENV VITE_APP_API_BASE_URL ${VITE_APP_API_BASE_URL}
|
||||
|
||||
# Set the working directory in the container
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user