forked from coracle/caravel
Parameterize frontend dockerfile
This commit is contained in:
@@ -8,6 +8,12 @@ COPY package.json bun.lock ./
|
||||
RUN bun install
|
||||
|
||||
COPY . .
|
||||
|
||||
ARG VITE_API_URL
|
||||
ARG VITE_PLATFORM_NAME
|
||||
ENV VITE_API_URL=$VITE_API_URL
|
||||
ENV VITE_PLATFORM_NAME=$VITE_PLATFORM_NAME
|
||||
|
||||
RUN bun run build
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
Reference in New Issue
Block a user