Skip to content

Commit

Permalink
Added env to web dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
nroh555 committed Jun 7, 2024
1 parent d43fd17 commit d6c987f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions web/Dockerfile.production
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ COPY --link . .

# Set build time environment variables
ENV VITE_API_URL="https://wdcc-auis-api.fly.dev"
#ENV VITE_STRAPI_URL="https://auis-strapi.fly.dev/"

# Build application
RUN yarn run build
Expand Down
1 change: 1 addition & 0 deletions web/Dockerfile.staging
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ COPY --link . .

# Set build time environment variables
ENV VITE_API_URL="https://wdcc-auis-api-staging.fly.dev"
ENV VITE_STRAPI_URL="https://software-arch-workshop-api.fly.dev"

# Build application
RUN yarn run build
Expand Down

0 comments on commit d6c987f

Please sign in to comment.