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