Add main-only container workflow
All checks were successful
Docker / test-build-push (push) Successful in 58s
All checks were successful
Docker / test-build-push (push) Successful in 58s
This commit is contained in:
@@ -5,4 +5,5 @@ COPY package.json ./
|
||||
COPY src ./src
|
||||
RUN mkdir -p data/exports
|
||||
EXPOSE 3082
|
||||
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 CMD ["node", "-e", "fetch('http://127.0.0.1:3082/api/health').then(r=>{if(!r.ok)process.exit(1)}).catch(()=>process.exit(1))"]
|
||||
CMD ["node","src/server.mjs"]
|
||||
|
||||
Reference in New Issue
Block a user