Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion frontend/Dockerfile.stage
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ FROM nginx:latest as production-stage
RUN mkdir -p /var/run/nginx-cache && chmod 0755 /var/run/nginx-cache
WORKDIR /app
COPY --from=build-stage /app/packages/client/build /app
COPY ./packages/client/public/cast.png /app
COPY ./deploy/nginx.conf /etc/nginx/nginx.conf
EXPOSE 80
RUN ls -la /app
RUN ls -la /app
5 changes: 2 additions & 3 deletions frontend/deploy/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ http {
index index.html;
try_files $uri $uri/ /index.html;
}
location /cast.png {
root /cast.png;
location /app/cast.png{
}
location /js/script.js {
# Change this if you use a different variant of the script
Expand Down Expand Up @@ -62,4 +61,4 @@ http {
root /usr/share/nginx/html;
}
}
}
}