summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile13
1 files changed, 1 insertions, 12 deletions
diff --git a/Dockerfile b/Dockerfile
index 3530ae0..8cd785f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -13,18 +13,7 @@ RUN bun run build
FROM nginx:alpine
COPY --from=build /app/dist /usr/share/nginx/html
-COPY <<'EOF' /etc/nginx/conf.d/default.conf
-server {
- listen 80;
- server_name _;
- root /usr/share/nginx/html;
- index index.html;
-
- location / {
- try_files $uri $uri/ /index.html;
- }
-}
-EOF
+COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file