Add nginx.conf for production environment

This commit is contained in:
Max Schmidt 2023-10-24 09:40:04 +02:00
parent 12cb58b891
commit ccd03f11c7

View File

@ -17,5 +17,6 @@ ADD "https://random-uuid.deno.dev" skipcache
RUN yarn build
FROM nginx:stable AS prod
COPY nginx.conf /etc/nginx/nginx.conf
COPY --from=build /build/dist /usr/share/nginx/html
EXPOSE 3000