Compare commits

...

2 commits

Author SHA1 Message Date
f4ad0b5640
ci: update go version
Some checks are pending
Go / build (push) Waiting to run
2025-02-09 11:45:04 +03:00
6e73121834
get rid of docker junk 2025-02-09 11:44:50 +03:00
4 changed files with 16 additions and 55 deletions

View file

@ -1,5 +0,0 @@
node_modules/
LICENSE
README.md
package-lock.json
yarn.lock

View file

@ -7,7 +7,6 @@ on:
branches: ["v2"]
jobs:
build:
runs-on: ubuntu-latest
steps:
@ -16,10 +15,10 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: "1.23"
- name: Build
run: go build -v ./.
run: go build -v ./..
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.3

View file

@ -1,10 +0,0 @@
FROM node:17
# Set working directory
WORKDIR /opt/catApi
# and copy files into that directory
COPY . ./
RUN npm install -g npm@8 && npm install --save-dev
CMD npm start

View file

@ -1,23 +0,0 @@
## DO NOT USE ##
services:
catweb:
build: .
ports:
- "${PORT}:${PORT}"
command: npm start
container_name: catApi
restart: unless-stopped
volumes:
- type: bind
source: ./images
target: /opt/catApi/images
- type: bind
source: ./.env
target: /opt/catApi/.env
tmpfs: /tmp # temp files such are stored here
working_dir: /opt/catApi
tty: true
environment:
- NODE_ENV=production # for production
- LOG_LEVEL=debug # debug, info, warn, error
- FORCE_COLOR=3 # force color output