Add nginx.conf for production environment
This commit is contained in:
parent
12cb58b891
commit
ccd03f11c7
@ -17,5 +17,6 @@ ADD "https://random-uuid.deno.dev" skipcache
|
|||||||
RUN yarn build
|
RUN yarn build
|
||||||
|
|
||||||
FROM nginx:stable AS prod
|
FROM nginx:stable AS prod
|
||||||
|
COPY nginx.conf /etc/nginx/nginx.conf
|
||||||
COPY --from=build /build/dist /usr/share/nginx/html
|
COPY --from=build /build/dist /usr/share/nginx/html
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
Loading…
Reference in New Issue
Block a user