Switch to npm, added docker setup

This commit is contained in:
Juan Sebastián Montoya 2024-09-26 19:00:29 -05:00
parent b0c2c217fe
commit 819379fba4
7 changed files with 1922 additions and 1024 deletions

17
docker-compose.yml Normal file
View file

@ -0,0 +1,17 @@
name: avatars
services:
api:
build:
context: .
environment:
NODE_ENV: "production"
HOST: "0.0.0.0"
PORT: 3000
API_VERSION: 1
ALLOWED_ORIGINS: "http://localhost:3000,https://jusemon.com"
networks:
default:
name: default-network
external: true