fix: deploy

This commit is contained in:
Kilu 2024-06-29 01:13:14 +08:00
parent 8bd1df539f
commit 6e8b0aa467
4 changed files with 4 additions and 3 deletions

View File

@ -71,4 +71,4 @@ jobs:
cd appflowy-web-app
docker build -t appflowy-web-app .
docker rm -f appflowy-web-app || true
docker run -d -p 3000:3000 --env-file .env --name appflowy-web-app appflowy-web-app
docker run -d -p 3000:80 --env-file .env --name appflowy-web-app appflowy-web-app

View File

@ -26,6 +26,6 @@ COPY start.sh /app/start.sh
RUN chmod +x /app/start.sh
EXPOSE 3000
EXPOSE 80
CMD ["/app/start.sh"]

View File

@ -38,7 +38,7 @@ http {
# Existing server block for HTTP
server {
listen 3000;
listen 80;
server_name localhost;
location / {

View File

@ -61,6 +61,7 @@ const createServer = async (req) => {
const timer = logRequestTimer(req);
const reqUrl = new URL(req.url);
logger.info(`Request URL: ${reqUrl.pathname}`);
const [
namespace,
publishName,