Browse Source

Merge pull request #64 from vernu/fix-docker2

infra: fix Dockerfile for web
pull/65/head
Israel Abebe 11 months ago
committed by GitHub
parent
commit
5d00b56ea1
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      web/Dockerfile
  2. 1
      web/next.config.js

2
web/Dockerfile

@ -79,4 +79,4 @@ EXPOSE ${PORT}
# HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \ # HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
# CMD wget -q -O - http://localhost:${PORT}/api/health || exit 1 # CMD wget -q -O - http://localhost:${PORT}/api/health || exit 1
CMD ["node", "server.js"]
CMD ["node", "server"]

1
web/next.config.js

@ -5,6 +5,7 @@ const nextConfig = {
locales: ['en-US'], locales: ['en-US'],
defaultLocale: 'en-US', defaultLocale: 'en-US',
}, },
output: 'standalone',
async redirects() { async redirects() {
return [ return [

Loading…
Cancel
Save