initial launch
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -59,6 +59,9 @@
|
||||
"tsconfig-paths": "^4.2.0",
|
||||
"typescript": "^5.1.3"
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"jest": {
|
||||
"moduleFileExtensions": [
|
||||
"js",
|
||||
|
||||
@@ -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'
|
||||
Reference in New Issue
Block a user