Dockerize environment for automated testing
This commit is contained in:
13
Worker.Node.Dockerfile
Normal file
13
Worker.Node.Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM node:20-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY example-service .
|
||||
|
||||
RUN npm install --production
|
||||
|
||||
EXPOSE 8787
|
||||
|
||||
HEALTHCHECK CMD curl --fail http://localhost:8787 || exit 1
|
||||
|
||||
ENTRYPOINT ["npm", "run", "dev"]
|
Reference in New Issue
Block a user