Compare commits

..

No commits in common. "master" and "master" have entirely different histories.

3 changed files with 0 additions and 49 deletions

View file

@ -1,25 +0,0 @@
name: build
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: git.cheetah.cat
username: ${{ github.actor }}
password: ${{ secrets.PAT_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
platforms: linux/amd64
push: true
tags: git.cheetah.cat/smartpager/${{ github.event.repository.name }}:latest

View file

@ -1,16 +0,0 @@
ARG NODE_VERSION=23.0.0
FROM node:${NODE_VERSION}-alpine
ENV NODE_ENV production
WORKDIR /usr/src/app
COPY . .
RUN npm install
USER node
EXPOSE 3250
CMD node index.js

View file

@ -1,8 +0,0 @@
services:
server:
build:
context: .
environment:
NODE_ENV: production
ports:
- 3250:3250