R
Railway15mo ago
Jannik

Deploy angular application

error:
2 minutes ago via GitHub

Init

main
View Logs

Removed

Deployed 3 minutes ago via GitHub

Init

main

Failed

Deployed 5 minutes ago via GitHub

Init

main

Failed

Deployed 6 minutes ago via GitHub

Init

main

Removed

Deployed 9 minutes ago via GitHub

added caddyfile

main

Removed

Deployed 15 minutes ago via GitHub

added readme

main

Failed

Deployed 16 minutes ago via GitHub

added readme

main
frontend


Sep 9, 2023 3:26 pm

active
frontend-production-d9d7.up.railway.app
Filter
/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf differs from the packaged version
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
2023/09/09 13:27:29 [notice] 1#1: using the "epoll" event method
2023/09/09 13:27:29 [notice] 1#1: nginx/1.21.1
2023/09/09 13:27:29 [notice] 1#1: built by gcc 8.3.0 (Debian 8.3.0-6)
2023/09/09 13:27:29 [notice] 1#1: OS: Linux 6.1.0-9-cloud-amd64
2023/09/09 13:27:29 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2023/09/09 13:27:29 [notice] 1#1: start worker processes

2023/09/09 13:27:29 [notice] 1#1: start worker process 33
2 minutes ago via GitHub

Init

main
View Logs

Removed

Deployed 3 minutes ago via GitHub

Init

main

Failed

Deployed 5 minutes ago via GitHub

Init

main

Failed

Deployed 6 minutes ago via GitHub

Init

main

Removed

Deployed 9 minutes ago via GitHub

added caddyfile

main

Removed

Deployed 15 minutes ago via GitHub

added readme

main

Failed

Deployed 16 minutes ago via GitHub

added readme

main
frontend


Sep 9, 2023 3:26 pm

active
frontend-production-d9d7.up.railway.app
Filter
/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf differs from the packaged version
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
2023/09/09 13:27:29 [notice] 1#1: using the "epoll" event method
2023/09/09 13:27:29 [notice] 1#1: nginx/1.21.1
2023/09/09 13:27:29 [notice] 1#1: built by gcc 8.3.0 (Debian 8.3.0-6)
2023/09/09 13:27:29 [notice] 1#1: OS: Linux 6.1.0-9-cloud-amd64
2023/09/09 13:27:29 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2023/09/09 13:27:29 [notice] 1#1: start worker processes

2023/09/09 13:27:29 [notice] 1#1: start worker process 33
Dockerfile
FROM node:18-alpine3.16 AS build
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build

# Stage 2: Set up Nginx and serve the built app
FROM nginx:1.21.1
COPY --from=build /app/dist/frontend /usr/share/nginx/html
COPY ./nginx-custom.conf /etc/nginx/conf.d/default.conf
FROM node:18-alpine3.16 AS build
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build

# Stage 2: Set up Nginx and serve the built app
FROM nginx:1.21.1
COPY --from=build /app/dist/frontend /usr/share/nginx/html
COPY ./nginx-custom.conf /etc/nginx/conf.d/default.conf
No description
3 Replies
Percy
Percy15mo ago
Project ID: N/A
Jannik
JannikOP15mo ago
nginx conf
server {
listen 80;
server_name frontend-production-d9d7.up.railway.app;

root /usr/share/nginx/html;
index index.html index.htm;

location / {
try_files $uri $uri/ /index.html;
}
}
server {
listen 80;
server_name frontend-production-d9d7.up.railway.app;

root /usr/share/nginx/html;
index index.html index.htm;

location / {
try_files $uri $uri/ /index.html;
}
}
87190d5f-0565-4ae2-a3c7-7ac6d14ba4a9
Want results from more Discord servers?
Add your server