Skip to content

Commit

Permalink
Create Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Russia9 authored Apr 24, 2022
1 parent 3d0aa25 commit 3dab495
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM node:17-bullseye-slim

# Metadata
WORKDIR /usr/src/app
ENV APP_ENV dev
EXPOSE 3000

# Install Nest
RUN npm i -g @nestjs/cli

# Copy dependencies list
COPY package*.json ./

# Install dependencies
RUN npm ci

# Copy app sources
COPY . .

# Run app
CMD ["nest", "start"]

0 comments on commit 3dab495

Please sign in to comment.