@ -64,46 +64,13 @@ workflows:
version: 2
build-test-and-lint:
jobs:
- build
- lint:
- install
- build:
requires:
- back-test-unit:
- front-netlify-deploy:
- back-test-e2e:
- back-deploy-heroku:
- lint
- back-test-unit
- back-test-e2e
filters:
branches:
only: main
- server-doc-build:
- server-doc-deploy:
- server-doc-build
- docker-build-and-push:
@ -6,3 +6,6 @@ dist-ssr
.idea
.env
.env*
# Local Netlify folder
.netlify
@ -0,0 +1,28 @@
FROM node:lts-fermium as development
WORKDIR /nest-server
COPY package*.json ./
RUN yarn install --only=development
COPY . .
RUN yarn run build
FROM node:lts-fermium as production
ARG NODE_ENV=production
ENV NODE_ENV=${NODE_ENV}
RUN yarn install --only=production
COPY --from=development /nest-server/dist ./dist
CMD ["node", "dist/main"]
@ -29,6 +29,5 @@ yarn build
## Configure the app
```sh
# Replace this with the app url
VITE_BACKEND_URL_URL=http://localhost:3000/
VITE_BACKEND_URL_URL=https://adechauveron-devops-final.herokuapp.com/
```