initial launch

This commit is contained in:
2025-02-23 20:26:16 -06:00
parent 12101ce409
commit 5ad6f7d10e
3 changed files with 23 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ FROM base AS api
WORKDIR api
COPY ./.prod/api .
EXPOSE 3000
CMD ["node", "dist/main.js"]
ENTRYPOINT ["tail", "-f", "/dev/null"]
FROM base AS app
WORKDIR /app

View File

@@ -59,6 +59,9 @@
"tsconfig-paths": "^4.2.0",
"typescript": "^5.1.3"
},
"files": [
"dist"
],
"jest": {
"moduleFileExtensions": [
"js",

View File

@@ -9,3 +9,21 @@ services:
- '10001:10001'
- '10002:10002'
command: 'azurite --blobHost 0.0.0.0 --queueHost 0.0.0.0 --tableHost 0.0.0.0 --loose'
api:
container_name: root-api
build:
context: .
target: api
ports:
- '3000:3000'
env_file:
- ./api/.env
app:
container_name: root-app
build:
context: .
target: app
ports:
- '8080:8080'