testnet-onboarding-api/Dockerfile
prathamesh0 e7abf8d5eb
Implement an API for generating access token using sumsub (#1)
* Setup a Nodejs project with Typescript

* Implement an API for generating access token using sumsub

* Add cors

* Add usage to instructions

* Pass kyc level and ttl in .env

* Add a Dockerfile

---------

Co-authored-by: Adw8 <adwaitgharpure@gmail.com>
2024-07-26 16:50:20 +05:30

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