first commit
This commit is contained in:
10
fog/apps/api/Dockerfile
Executable file
10
fog/apps/api/Dockerfile
Executable file
@@ -0,0 +1,10 @@
|
||||
FROM node:20-alpine AS base
|
||||
WORKDIR /workspace
|
||||
|
||||
COPY package.json ./
|
||||
RUN npm install --legacy-peer-deps && npm install --legacy-peer-deps --no-save tsx pino-http
|
||||
|
||||
COPY . .
|
||||
|
||||
EXPOSE 3333
|
||||
CMD ["npx", "tsx", "--tsconfig", "apps/api/tsconfig.app.json", "apps/api/src/main.ts"]
|
||||
Reference in New Issue
Block a user