Arruma docker compose
This commit is contained in:
@@ -4,3 +4,4 @@ dist
|
|||||||
.gitignore
|
.gitignore
|
||||||
Dockerfile
|
Dockerfile
|
||||||
docker-compose.yml
|
docker-compose.yml
|
||||||
|
pnpm-lock.yaml
|
||||||
|
|||||||
@@ -3,13 +3,13 @@ WORKDIR /app
|
|||||||
|
|
||||||
RUN npm install -g pnpm
|
RUN npm install -g pnpm
|
||||||
|
|
||||||
RUN pnpm install --frozen-lockfile
|
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
RUN pnpm install
|
||||||
|
|
||||||
|
|
||||||
ARG BASE=/
|
ARG BASE=/
|
||||||
ENV VITE_BASE_PATH=$BASE
|
ENV VITE_BASE_PATH=$BASE
|
||||||
RUN pnpm install
|
|
||||||
RUN pnpm run build
|
RUN pnpm run build
|
||||||
RUN rm -rf node_modules
|
RUN rm -rf node_modules
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user