added dockerfiles
This commit is contained in:
13
Dockerfile
Normal file
13
Dockerfile
Normal 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
16
docker-compose.yml
Normal 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
|
||||||
Reference in New Issue
Block a user