Feature/settings page (#7)

* Update docker-compose.yaml

* Update docker-compose.yaml

* Update package.json

* Update Dockerfile

* Update Dockerfile

* Integrity 1
This commit is contained in:
John Parkhurst 2025-06-11 10:55:46 -04:00 committed by GitHub
parent 1cf290d95f
commit e424ea54dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 383 additions and 368 deletions

View file

@ -29,16 +29,10 @@ jobs:
registry: docker.io registry: docker.io
username: ${{ secrets.DOCKERHUB_USER }} username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Docker Buildx - name: Docker Build Backend
uses: docker/setup-buildx-action@v3 run: docker build -f web/Dockerfile -t john4064/shiftsync:latest_web ./web --build-arg TEST=${{ secrets.TEST }}
- name: Build Image and Push to Registry - name: Docker Push Backend
uses: docker/build-push-action@v6 run: docker push john4064/shiftsync:latest_web
with:
context: ./web
file: ./web/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ secrets.DOCKERHUB_USER }}/shiftsync:latest_web
- name: Deploy to Coolify - name: Deploy to Coolify
run: | run: |
curl --request GET '${{ secrets.COOLIFY_WEBHOOK }}' --header 'Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}' curl --request GET '${{ secrets.COOLIFY_WEBHOOK }}' --header 'Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}'

View file

@ -2,6 +2,9 @@ FROM node:20-alpine
WORKDIR /app WORKDIR /app
RUN echo ":tools: Listing context:" && ls -R . && echo "************************"
COPY ./package*.json ./ COPY ./package*.json ./
RUN npm ci RUN npm ci
@ -9,4 +12,6 @@ RUN npm ci
COPY . ./ COPY . ./
EXPOSE 5173 EXPOSE 5173
CMD ["npm", "run", "dev"] CMD ["npm", "run", "dev"]

728
web/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,10 +1,10 @@
{ {
"name": "shiftsync-website-web", "name": "shiftsync-website-web",
"private": true, "private": true,
"version": "0.0.1", "version": "1.0.0",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite --host",
"build": "vite build", "build": "vite build",
"lint": "eslint .", "lint": "eslint .",
"preview": "vite preview" "preview": "vite preview"