Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Specify a concrete version of the Node.js image using an Alpine variant for reduced size
FROM node:16-alpine

# Create a new directory for the application
WORKDIR /app

COPY . .

RUN npm install
RUN npm run build
RUN npm run release

# Copy the rest of your application source code
COPY . .

CMD ["npm", "start"]
Loading