added dockerfiles

This commit is contained in:
2026-01-21 07:55:00 +01:00
parent da38de3159
commit 23748adca1
2 changed files with 29 additions and 0 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM node:24-alpine as build
WORKDIR /app/src
COPY package*.json ./
RUN npm ci
COPY . ./
RUN npm run build
FROM node:24-alpine
WORKDIR /usr/app
COPY --from=build /app/src/dist/portfolio ./
CMD node server/server.mjs
EXPOSE 4000

16
docker-compose.yml Normal file
View File

@@ -0,0 +1,16 @@
services:
bordellio-portal-fe:
build: .
restart: always
environment:
VIRTUAL_HOST: antoniolede.de,antoniolede.com,antonioledebuhr.de,www.antoniolede.de,www.antoniolede.com,www.antonioledebuhr.de
VIRTUAL_PORT: 4000
VIRTUAL_PATH: /
VIRTUAL_DEST: /
NETWORK_ACCESS: cf
networks:
- proxy
networks:
proxy:
external: true