dockerized
parent
021fdec5fc
commit
cbfb0d07a9
@ -1,2 +1,3 @@
|
||||
node_modules/
|
||||
images/
|
||||
stack.env
|
||||
@ -0,0 +1,7 @@
|
||||
FROM ghcr.io/puppeteer/puppeteer:21.5.2
|
||||
WORKDIR /app
|
||||
|
||||
COPY /server ./
|
||||
COPY /package.json ./package.json
|
||||
RUN npm install
|
||||
CMD ["node", "index.js"]
|
||||
@ -1,2 +1,12 @@
|
||||
# bringatrailerbot
|
||||
|
||||
|
||||
Deploy instructions:
|
||||
- Uncomment the `pull_policy` line from `docker-compose.yml`
|
||||
- Update `docker-compose.yml` with new version numbers.
|
||||
- Run `docker login git.edwardpeterson.dev`
|
||||
- Run `docker-compose build --pull` from the root directory
|
||||
- Run `docker-compose push` next to push the newest image to gitea.
|
||||
- Comment back out the `pull_policy` line from `docker-compose.yml`
|
||||
- Commit and push changes.
|
||||
<!-- - From portainer, open the amxregistry stack and select Pull image and Deploy -->
|
||||
@ -0,0 +1,15 @@
|
||||
version: '3.7'
|
||||
|
||||
services:
|
||||
|
||||
amxregistry-bundler:
|
||||
image: git.edwardpeterson.dev/cubemaster21/amxregistry-bundler:v1.0
|
||||
# container_name: amxregistry-client
|
||||
# pull_policy: build
|
||||
restart: always
|
||||
build:
|
||||
no_cache: true
|
||||
context: .
|
||||
dockerfile: ./Dockerfile
|
||||
ports:
|
||||
- 2667:2667
|
||||
Loading…
Reference in New Issue