13 lines
222 B
Docker
Executable File
13 lines
222 B
Docker
Executable File
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:8088/health || exit 1
|
|
|
|
EXPOSE 8088
|
|
|
|
CMD [ "node", "/app/index.js" ]
|