feature/docker #1

Merged
hardik merged 2 commits from feature/docker into main 2025-08-06 13:07:22 +05:30
2 changed files with 28 additions and 1 deletions

27
Dockerfile Normal file
View File

@ -0,0 +1,27 @@
FROM node:21-alpine as builder
ARG API_BASE_URL="https://www.sangwaritaxi.com/"
ENV REACT_APP_API_BASE_URL $API_BASE_URL
WORKDIR /app
COPY package.json package.json
COPY yarn.lock yarn.lock
RUN yarn install --frozen-lockfile
COPY . .
RUN yarn build
FROM scratch
WORKDIR /app
COPY --from=builder /app/build ./build
CMD ["sh"]
# new

View File

@ -6,7 +6,7 @@
--dark: #1e293b;
--gray: #64748b;
}
/* new */
* {
margin: 0;
padding: 0;