laconic-faucet/Dockerfile
Prathamesh Musale fd27cd141c Add netcat installation in Dockerfile (#2)
Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675)

Reviewed-on: cerc-io/laconic-faucet#2
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2024-07-26 12:23:30 +00:00

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"]