Update: use port 80 with serve package
This commit is contained in:
1 parent
7a64054475
commit
80e0c0406f
3 files changed
+853
-2
No files matched your search
+2
-2
@@ -10,5 +10,5 @@ WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm ci --production
|
||||
COPY --from=builder /app/dist ./dist
|
||||
EXPOSE 4321
|
||||
CMD ["npx", "astro", "preview", "--host", "0.0.0.0", "--port", "4321"]
|
||||
EXPOSE 80
|
||||
CMD ["npx", "serve", "dist", "-l", "80"]
|
||||
Generated
+850
File diff suppressed because it is too large.
Load diff
@@ -11,6 +11,7 @@
|
||||
"dependencies": {
|
||||
"@tailwindcss/vite": "^4.2.1",
|
||||
"astro": "^5.17.1",
|
||||
"serve": "^14.2.5",
|
||||
"tailwindcss": "^4.2.1"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user