Prathamesh Musale
fd27cd141c
Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675) Reviewed-on: #2 Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com> Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
17 lines
232 B
Docker
17 lines
232 B
Docker
FROM node:20-bullseye
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update && apt-get install -y netcat
|
|
|
|
# Copy the application code
|
|
COPY . .
|
|
|
|
RUN yarn && yarn build
|
|
|
|
# Expose the required port
|
|
EXPOSE 3000
|
|
|
|
# Run the app
|
|
CMD ["node", "dist/index.js"]
|