Skip to content

Commit

Permalink
fix: 🐛 add env injection commands to dokerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kavabunga committed Jan 27, 2024
1 parent 4cbafb3 commit 8471716
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@ WORKDIR /app
COPY package*.json .
RUN npm install
COPY . .
ARG VITE_BASE_URL
ENV VITE_BASE_URL=$VITE_BASE_URL
ARG VITE_API_URL
ENV VITE_API_URL=$VITE_API_URL
RUN npm run build
CMD cp -r build result_build

0 comments on commit 8471716

Please sign in to comment.