15 lines
183 B
Docker
15 lines
183 B
Docker
FROM node:20-bullseye
|
|
|
|
WORKDIR /app
|
|
|
|
# Copy the application code
|
|
COPY . .
|
|
|
|
RUN yarn && yarn build
|
|
|
|
# Expose the required port
|
|
EXPOSE 3000
|
|
|
|
# Run the app
|
|
CMD ["node", "dist/index.js"]
|