mirror of
https://github.com/dadosfera/maestro.git
synced 2026-10-12 20:19:09 +00:00
Dockerfile
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
FROM node:14 as packages
|
||||
WORKDIR /packages
|
||||
COPY package.json .
|
||||
RUN npm install
|
||||
|
||||
FROM node:alpine
|
||||
WORKDIR /app
|
||||
COPY . /app/
|
||||
COPY --from=packages /packages/node_modules /app/node_modules
|
||||
RUN npm run build
|
||||
EXPOSE 3000
|
||||
ENTRYPOINT npm run start
|
||||
+1
-1
@@ -19,6 +19,6 @@ async function bootstrap() {
|
||||
SwaggerModule.setup('api', app, document);
|
||||
|
||||
|
||||
await (await app).listen(3001);
|
||||
await (await app).listen(3000);
|
||||
}
|
||||
bootstrap();
|
||||
|
||||
Reference in New Issue
Block a user