diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4fef531 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM node:18-alpine + +WORKDIR /app + +COPY package.json ./ +COPY yarn.lock ./ +RUN yarn install + +COPY . . + +EXPOSE 4242 + +CMD ["yarn", "start"] \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..4a40f81 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,8 @@ +version: "3" + +services: + stripe-webhook: + container_name: stripe-webhook + build: . + ports: + - "4242:4242"