Archived
add docker support
This commit is contained in:
2 files changed
+21
No files matched your search
+13
@@ -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"]
|
||||
@@ -0,0 +1,8 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
stripe-webhook:
|
||||
container_name: stripe-webhook
|
||||
build: .
|
||||
ports:
|
||||
- "4242:4242"
|
||||
Reference in new issue
Block a user