Build container images for easy MCP use
This commit is contained in:
parent
eb294e9b14
commit
f19b337d7b
6 changed files with 174 additions and 0 deletions
16
docker/Dockerfile
Normal file
16
docker/Dockerfile
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
FROM node:26-slim
|
||||
|
||||
COPY . /series-of-tubes
|
||||
WORKDIR /series-of-tubes
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY docker/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
|
||||
RUN chmod +x /usr/local/bin/docker-entrypoint.sh \
|
||||
&& chown -R node:node /series-of-tubes
|
||||
|
||||
USER node
|
||||
|
||||
EXPOSE 8080 7777
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue