Replies: 3 comments
-
At the moment this builds and runs pretty easily in the environments we tested. Those familiar with Docker could write a Dockerfile pretty easily. I think we should defer putting a Dockerfile in the repo for a future point in time if/when that's less trivial. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I wrote an example Dockerfile: FROM node:21-alpine
RUN apk add --no-cache bash # useful for debugging
RUN mkdir -p /opt/puter/app
WORKDIR /opt/puter/app
COPY . .
RUN chown -R node:node /opt/puter/app
USER node
RUN npm install
EXPOSE 4000
CMD [ "npm", "start" ] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This seems like it would be straightforward for a Docker container.
Beta Was this translation helpful? Give feedback.
All reactions