Add Dockerfile
This commit is contained in:
parent
1d8bd0c989
commit
86ed5cf978
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
FROM node:20-alpine
|
||||||
|
|
||||||
|
COPY ./code /app
|
||||||
|
COPY ./config /config
|
||||||
|
RUN mkdir -p /data && \
|
||||||
|
apk --no-cache add curl
|
||||||
|
|
||||||
|
HEALTHCHECK CMD curl -f http://localhost:8080/health || exit 1
|
||||||
|
|
||||||
|
EXPOSE 8080
|
||||||
|
|
||||||
|
CMD [ "node", "/app/index.js" ]
|
||||||
Loading…
x
Reference in New Issue
Block a user