Update: use port 80 with serve package
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user