Skip to content

Commit

Permalink
ci: nginx-conf
Browse files Browse the repository at this point in the history
  • Loading branch information
mghilardelli committed Jun 5, 2024
1 parent d39edcf commit 7999f1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ADD --chmod=755 https://github.com/kyubisation/angular-server-side-configuration
ADD --chmod=755 docker/99-ngssc.sh /docker-entrypoint.d/

# Add nginx configuration
#ADD docker/nginx-angular.conf /etc/nginx/conf.d/default.conf
ADD docker/nginx-angular.conf /etc/nginx/conf.d/default.conf

# copy built application from build stage
COPY --from=build --chown=nginx:nginx --chmod=755 /build/dist/webapp /usr/share/nginx/html
Expand Down
2 changes: 2 additions & 0 deletions webapp/docker/nginx-angular.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
pid /tmp/nginx.pid;

server {
listen 4200;
server_name localhost;
Expand Down

0 comments on commit 7999f1f

Please sign in to comment.