i guess I added dockerignore after?

This commit is contained in:
2025-12-18 16:44:09 +00:00
parent cf44635c72
commit a30d35f4da
3 changed files with 6 additions and 8 deletions

View File

@@ -1,7 +1,6 @@
LICENSE
README.md
node_modules
dist
.env.example
.git
.gitignore

View File

@@ -1,5 +1,5 @@
# Stage 1: Build the project
FROM node:18 AS builder
FROM node:20 AS builder
WORKDIR /app
# Copy package.json and pnpm-lock.yaml to the working directory
@@ -17,7 +17,7 @@ COPY . .
RUN pnpm build
# Stage 2: Serve the app using the same version of Node
FROM node:18-alpine
FROM node:20-alpine
WORKDIR /app
# Install a simple http server

View File

@@ -9,14 +9,13 @@ services:
dockerfile: docker/Dockerfile
image: gib/bang:latest
container_name: bang
env_file: [.env]
hostname: bang
domainname: bang.gbrown.org
networks:
- nginx-bridge
domainname: ${DOMAIN}
networks: ['${NETWORK}']
#ports: ['5000:5000']
stdin_open: true
tty: true
restart: unless-stopped
volumes:
- ../:/app
#volumes: ['.:/app']
command: serve -s /app/dist -l 5000