mirror of
https://github.com/PretendoNetwork/SSSL.git
synced 2026-03-21 17:34:48 -05:00
feat: Dockerize
This commit is contained in:
parent
d4b2edd3f4
commit
c2eec0ff19
11
Dockerfile
Normal file
11
Dockerfile
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
FROM node:20-alpine
|
||||
WORKDIR /app
|
||||
|
||||
RUN --mount=type=bind,source=package.json,target=package.json \
|
||||
--mount=type=bind,source=package-lock.json,target=package-lock.json \
|
||||
--mount=type=cache,target=/root/.npm \
|
||||
npm ci
|
||||
|
||||
COPY patch.js .
|
||||
# Using ENTRYPOINT instead of CMD to allow passing arguments to the script directly
|
||||
ENTRYPOINT ["node", "patch.js"]
|
||||
Loading…
Reference in New Issue
Block a user