Skip to content

Commit

Permalink
Revert "docs: updated docs for seeding and production builds"
Browse files Browse the repository at this point in the history
This reverts commit ef2d7c6.
(i'm just an idiot)
  • Loading branch information
TeddyRoncin committed Nov 30, 2023
1 parent ef2d7c6 commit 8e8ecde
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN pnpm install --frozen-lockfile --production=false
COPY --chown=node:node ./ ./

# Build api
RUN pnpm build --build-arg API_URI=http://x.x.x.x:port # Replace with your IP and port
RUN pnpm build

# Prunes devDependencies
RUN pnpm install --production --ignore-scripts --prefer-offline
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ pnpm build
pnpm start
```

Dans le Dockerfile, il faut aussi rajouter l'argument `--build-arg API_URI=http://x.x.x.x:port` à la commande `pnpm build`, en mettant l'IP et le port de l'API.

### CI/CD
La pipeline de CI/CD est assurée par GitHub Actions.

Expand Down

0 comments on commit 8e8ecde

Please sign in to comment.